Documentation
¶
Index ¶
- Variables
- func Fatal(a ...any)
- func Fatalf(format string, a ...any)
- func Fatalln(a ...any)
- func Printf(format string, a ...any)
- func Println(a ...any)
- func SetDefaultMaxDepth(v int)
- func SetWriter(o io.Writer)
- func SimplePrint(v any) string
- func Sprint(a ...any) string
- func Sprintln(a ...any) string
Constants ¶
This section is empty.
Variables ¶
View Source
var Simple = sync.OnceValue(func() *pp.PrettyPrinter { printer := pp.New() printer.SetColoringEnabled(false) printer.SetExportedOnly(false) printer.SetOmitEmpty(true) printer.SetMaxDepth(3) return printer })
Functions ¶
func SetDefaultMaxDepth ¶
func SetDefaultMaxDepth(v int)
func SimplePrint ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.