Documentation ¶
Overview ¶
Package kdump like fmt.Println but more pretty and beautiful print Go values.
Package kdump like fmt.Println but more pretty and beautiful print Go values.
Index ¶
- func Format(vs ...interface{}) string
- func FormatN(vs ...interface{}) string
- func Fprint(w io.Writer, vs ...interface{})
- func P(vs ...interface{})
- func Print(vs ...interface{})
- func Println(vs ...interface{})
- func V(vs ...interface{})
- type KDumper
- func (d KDumper) WithCallerSkip(callerSkip int) KDumper
- func (d KDumper) WithColorTheme(theme dump.Theme) KDumper
- func (d KDumper) WithIndentChar(char byte) KDumper
- func (d KDumper) WithIndentLen(indentLen int) KDumper
- func (d KDumper) WithMaxDepth(depth int) KDumper
- func (d KDumper) WithNoColor() KDumper
- func (d KDumper) WithNoType() KDumper
- func (d KDumper) WithOutput(output io.Writer) KDumper
- func (d KDumper) WithShowFlag(flag int) KDumper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Format ¶
func Format(vs ...interface{}) string
Format like fmt.Println, but the output is clearer and more beautiful
func FormatN ¶
func FormatN(vs ...interface{}) string
Custom method outside the original dump package FormatN like fmt.Println, but the output is clearer and no color
func Print ¶
func Print(vs ...interface{})
Print like fmt.Println, but the output is clearer and more beautiful
Types ¶
type KDumper ¶
func (KDumper) WithCallerSkip ¶
func (KDumper) WithIndentChar ¶
func (KDumper) WithIndentLen ¶
func (KDumper) WithMaxDepth ¶
func (KDumper) WithNoColor ¶
func (KDumper) WithNoType ¶
func (KDumper) WithShowFlag ¶
Click to show internal directories.
Click to hide internal directories.