pretty

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrefixPretty

func PrefixPretty(prefix string, object interface{})

PrefixPretty uses json marshal to pretty print an interface object

func PrefixPrettyWriter

func PrefixPrettyWriter(writer io.Writer, prefix string, object interface{})

PrefixPrettyWriter uses json marshal to pretty output an interface object

func PrettyPrint

func PrettyPrint(object interface{})

PrettyPrint uses json marshal to pretty print an interface object

func PrettyString

func PrettyString(object interface{}) string

func PrettyWriter

func PrettyWriter(object interface{}, writer io.Writer)

PrettyWriter uses json marshal to pretty output an interface object

Types

This section is empty.

Jump to

Keyboard shortcuts

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