Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dump ¶
func Dump(values ...interface{})
Dump prints variables `values` to stdout with more manually readable.
func DumpTo ¶
func DumpTo(writer io.Writer, value interface{}, option DumpOption)
DumpTo writes variables `values` as a string in to `writer` with more manually readable
func DumpWithOption ¶
func DumpWithOption(value interface{}, option DumpOption)
DumpWithOption returns variables `values` as a string with more manually readable.
func DumpWithType ¶
func DumpWithType(values ...interface{})
DumpWithType acts like Dump, but with type information. Also see Dump.
Types ¶
type DumpOption ¶
type DumpOption struct { WithType bool // WithType specifies dumping content with type information. ExportedOnly bool // Only dump Exported fields for structs. }
DumpOption specifies the behavior of function Export.
Click to show internal directories.
Click to hide internal directories.