Documentation ¶
Overview ¶
package opt provides optional types. It can be useful for optional configuration paramteters
Index ¶
- func Bool(v bool) *bool
- func Int(i int) *int
- func Int16(i int16) *int16
- func Int32(i int32) *int32
- func Int64(i int64) *int64
- func Int8(i int8) *int8
- func String(str string) *string
- func Time(t time.Time) *time.Time
- func Uint(i uint) *uint
- func Uint16(i uint16) *uint16
- func Uint32(i uint32) *uint32
- func Uint64(i uint64) *uint64
- func Uint8(i uint8) *uint8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.