df

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithBigFloat

func WithBigFloat() dd.OptionFunc

WithBigFloat is a wrapper of WithDumpFunc for big.Float. Dumps the numeric values instead of displaying the struct contents.

func WithBigInt

func WithBigInt() dd.OptionFunc

WithBigInt is a wrapper of WithDumpFunc for big.Int. Dumps the numeric values instead of displaying the struct contents.

func WithJSONRawMessage

func WithJSONRawMessage() dd.OptionFunc

WithJSONRawMessage is a wrapper of WithDumpFunc for json.RawMessage. Dumps a raw JSON string.

func WithRichBytes

func WithRichBytes() dd.OptionFunc

WithBytes is a wrapper of WithDumpFunc for []byte and []uint8. The format of the dump matches the output of `hexdump -C` on the command line.

func WithTime

func WithTime(format string) dd.OptionFunc

WithTime is a wrapper of WithDumpFunc for time.Time. Dumps the numeric values instead of displaying the struct contents.

Types

This section is empty.

Jump to

Keyboard shortcuts

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