Documentation ¶
Index ¶
- func Bool(b bool) *bool
- func Duration(d time.Duration) *time.Duration
- func FillDefaultFrom(defaultsList ...interface{}) interface{}
- func Float32(f float32) *float32
- func Float64(b float64) *float64
- func Int(i int) *int
- func Int32(i int32) *int32
- func Int64(i int64) *int64
- func String(i string) *string
- func Uint(i uint) *uint
- func Uint16(i uint16) *uint16
- func Uint32(i uint32) *uint32
- func Uint64(i uint64) *uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FillDefaultFrom ¶
func FillDefaultFrom(defaultsList ...interface{}) interface{}
FillDefaultFrom fills default values replacing nil values with the first non nil. The replacement goes into existing
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.