stringify

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: Apache-2.0, BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INDENTATION_SIZE = 4
)

Variables

This section is empty.

Functions

func Bool

func Bool(value bool) string

func Int

func Int(value int) string

func Interface

func Interface(value interface{}) string

func Map

func Map(value interface{}) string

func Slice

func Slice(value []interface{}) string

func SliceOfBytes

func SliceOfBytes(value []byte) string

func String

func String(value string) string

func Struct

func Struct(name string, fields ...*structField) string

func StructField

func StructField(name string, value interface{}) *structField

Types

This section is empty.

Jump to

Keyboard shortcuts

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