Documentation ¶
Overview ¶
Package pointer provides helper method to quickly define pointer from basic go types
Index ¶
- func Bool(v bool) *bool
- func DumpPStruct(s interface{}, multiline bool) string
- func Float32(v float32) *float32
- func Float64(v float64) *float64
- func Int(v int) *int
- func Int16(v int16) *int16
- func Int32(v int32) *int32
- func Int64(v int64) *int64
- func Int8(v int8) *int8
- func String(v string) *string
- func Time(v time.Time) *time.Time
- func Uint(v uint) *uint
- func Uint16(v uint16) *uint16
- func Uint32(v uint32) *uint32
- func Uint64(v uint64) *uint64
- func Uint8(v uint8) *uint8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpPStruct ¶
DumpStruct prints the content of a struct of pointers
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.