dump

package
v0.28.13 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 1 Imported by: 19

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForHash

func ForHash(a interface{}) string

ForHash keeps the original Spew.Sprintf format to ensure the same checksum

func OneLine

func OneLine(a interface{}) string

OneLine outputs the object in one line

func Pretty

func Pretty(a interface{}) string

Pretty wrap the spew.Sdump with Indent, and disabled methods like error() and String() The output may change over time, so for guaranteed output please take more direct control

Types

This section is empty.

Jump to

Keyboard shortcuts

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