Documentation ¶
Index ¶
- Constants
- func Bool(value bool) string
- func Float32(f float32) string
- func Float64(f float64) string
- func Int(value int64) string
- func Interface(value interface{}) string
- func Map(value interface{}) string
- func Slice(value []interface{}) string
- func SliceOfBytes(value []byte) string
- func String(value string) string
- func Struct(name string, fields ...*structField) string
- func StructBuilder(name string, fields ...*structField) *structBuilder
- func StructField(name string, value interface{}) *structField
- func UInt(value uint64) string
Constants ¶
View Source
const (
INDENTATION_SIZE = 4
)
Variables ¶
This section is empty.
Functions ¶
func SliceOfBytes ¶
func StructBuilder ¶
func StructBuilder(name string, fields ...*structField) *structBuilder
StructBuilder returns a builder for the struct that can dynamically be modified.
func StructField ¶
func StructField(name string, value interface{}) *structField
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.