Go pp.Print()

1 개요[ | ]

Go pp.Print()
package main

import "github.com/k0kubun/pp"

func main() {
	orders := []interface{}{
		map[string]interface{}{"id": 1, "name": "Ashley", "date": "2020-05-20"},
		map[string]interface{}{"id": 2, "name": "Peter", "date": "2020-05-20"},
		map[string]interface{}{"id": 3, "name": "Ashley", "date": "2020-05-05"},
		map[string]interface{}{"id": 4, "name": "John", "date": "2020-05-05"},
		map[string]interface{}{"id": 5, "name": "Peter", "date": "2020-05-05"},
	}
	pp.Print(orders)
}

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}