Skip to content

severeone/pretty

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pretty

A Pretty-printer for Go data structures

Installation

$ go get github.com/gobs/pretty

Documentation

http://godoc.org/github.com/gobs/pretty

Example

import "github.com/gobs/pretty"

stuff := map[string]interface{} {
  "a": 1,
  "b", "due",
  "c", []int { 1, 2, 3 },
  "d": false
}

pretty.PrettyPrint(stuff)

About

Pretty-Print Go data structures

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%