Documentation
¶
Overview ¶
Package goon is a deep pretty printer with Go-like notation. It implements the goon specification.
Index ¶
- func All(d interface{}, query func(i interface{}) bool) map[interface{}]struct{}
- func Dump(a ...interface{}) (n int, err error)
- func Fdump(w io.Writer, a ...interface{}) (n int, err error)
- func First(d interface{}, query func(i interface{}) bool) interface{}
- func GetFuncValueSourceAsString(fv reflect.Value) string
- func GetSourceAsString(f interface{}) string
- func Sdump(a ...interface{}) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
func All(d interface{}, query func(i interface{}) bool) map[interface{}]struct{}
All finds all instances of i that satisfy query within d.
func First ¶
func First(d interface{}, query func(i interface{}) bool) interface{}
First finds the first instances of i that satisfies query within d.
func GetFuncValueSourceAsString ¶
GetFuncValueSourceAsString returns the source of the func value fv.
func GetSourceAsString ¶
func GetSourceAsString(f interface{}) string
GetSourceAsString returns the source of the func f.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.