kdump

package
v0.4.1-debug.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

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

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 Fprint

func Fprint(w io.Writer, vs ...interface{})

Fprint like fmt.Println, but the output is clearer and more beautiful

func P

func P(vs ...interface{})

P like fmt.Println, but the output is clearer and more beautiful

func Print

func Print(vs ...interface{})

Print like fmt.Println, but the output is clearer and more beautiful

func Println

func Println(vs ...interface{})

Println like fmt.Println, but the output is clearer and more beautiful

func V

func V(vs ...interface{})

V like fmt.Println, but the output is clearer and more beautiful

Types

type KDumper

type KDumper dump.Dumper

func New

func New() KDumper

func (KDumper) WithCallerSkip

func (d KDumper) WithCallerSkip(callerSkip int) KDumper

func (KDumper) WithColorTheme

func (d KDumper) WithColorTheme(theme dump.Theme) KDumper

func (KDumper) WithIndentChar

func (d KDumper) WithIndentChar(char byte) KDumper

func (KDumper) WithIndentLen

func (d KDumper) WithIndentLen(indentLen int) KDumper

func (KDumper) WithMaxDepth

func (d KDumper) WithMaxDepth(depth int) KDumper

func (KDumper) WithNoColor

func (d KDumper) WithNoColor() KDumper

func (KDumper) WithNoType

func (d KDumper) WithNoType() KDumper

func (KDumper) WithOutput

func (d KDumper) WithOutput(output io.Writer) KDumper

func (KDumper) WithShowFlag

func (d KDumper) WithShowFlag(flag int) KDumper

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL