Documentation ¶
Index ¶
- func Float64(value float64) *float64
- func Float64Copy(value *float64) *float64
- func Float64IfValid(valid bool, value float64) *float64
- func Float64OrDefault(value *float64, defaultValue float64) *float64
- func String(value string) *string
- func StringCopy(value *string) *string
- func StringIfValid(valid bool, value string) *string
- func StringOrDefault(value *string, defaultValue string) *string
- func Time(value time.Time) *time.Time
- func TimeCopy(value *time.Time) *time.Time
- func TimeIfValid(valid bool, value time.Time) *time.Time
- func TimeOrDefault(value *time.Time, defaultValue time.Time) *time.Time
- func Uint64(value uint64) *uint64
- func Uint64Copy(value *uint64) *uint64
- func Uint64IfValid(valid bool, value uint64) *uint64
- func Uint64OrDefault(value *uint64, defaultValue uint64) *uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float64Copy ¶
Float64Copy returns a pointer that's a copy of the provided value
func Float64IfValid ¶
Float64IfValid returns a pointer to the value if it's valid, otherwise nil
func Float64OrDefault ¶
Float64OrDefault returns the pointer if not nil, otherwise the default value
func StringCopy ¶
StringCopy returns a pointer that's a copy of the provided value
func StringIfValid ¶
StringIfValid returns a pointer to the value if it's valid, otherwise nil
func StringOrDefault ¶
StringOrDefault returns the pointer if not nil, otherwise the default value
func TimeIfValid ¶
TimeIfValid returns a pointer to the value if it's valid, otherwise nil
func TimeOrDefault ¶
TimeOrDefault returns the pointer if not nil, otherwise the default value
func Uint64Copy ¶
Uint64Copy returns a pointer that's a copy of the provided value
func Uint64IfValid ¶
Uint64IfValid returns a pointer to the value if it's valid, otherwise nil
func Uint64OrDefault ¶
Uint64OrDefault returns the pointer if not nil, otherwise the default value
Types ¶
This section is empty.