func main() { tree := node{label: "parent", children: []node{node{label: "child"}}} // uses go-spew, see https://github.com/davecgh/go-spew hopwatch.Dump(tree).Break() hopwatch.Dumpf("kids %#+v", tree.children).Break() }
func main() { hopwatch.Dump(8).Dump(8).Break() hopwatch.Dumpf("%v", 9).Dumpf("%v", 9).Break() }