Pretty printer thingy for Go
Go
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
.gitignore
README.md
o.gif
o.go
o_test.go

README.md

o.O

Demo

output

Usage

package main

import "github.com/AndrewVos/o"

type Something struct {
  Name string
  Value string
}

func main() {
  something := Something { Name: "Donald", Value: "Duck" }
  o.O(something)

  someString := "o.O is pretty awesome!"
  o.O(someString)
}

Install

go get github.com/AndrewVos/o

FAQ