repositorypackage
0.0.0-20180724170744-09732c25a95b
Repository: https://github.com/gobs/pretty.git
Documentation: pkg.go.dev
# README
pretty
A Pretty-printer for Go data structures
Installation
$ go get github.com/gobs/pretty
Documentation
http://godoc.org/github.com/gobs/pretty
Example
package main
import "github.com/gobs/pretty"
func main() {
stuff := map[string]interface{} {
"a": 1,
"b": "due",
"c": []int { 1, 2, 3 },
"d": false,
}
pretty.PrettyPrint(stuff)
}