Documentation ¶
Index ¶
- func Bool(b *bool) bool
- func BoolPtr(b bool) *bool
- func Float64(i *float64) float64
- func Float64Ptr(i float64) *float64
- func Int(i *int) int
- func Int32(i *int32) int32
- func Int32Ptr(i int32) *int32
- func Int64(i *int64) int64
- func Int64Ptr(i int64) *int64
- func IntPtr(i int) *int
- func IsFalseBoolPointer(b *bool) bool
- func IsTrueBoolPointer(b *bool) bool
- func String(s *string) string
- func StringPtr(s string) *string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bool ¶
Bool returns a bool value for the passed bool pointer. It returns false if the pointer is nil.
func Float64 ¶
Float64 returns an int value for the passed int pointer. It returns 0.0 if the pointer is nil.
func Int32 ¶
Int32 returns an int value for the passed int pointer. It returns 0 if the pointer is nil.
func Int64 ¶
Int64 returns an int value for the passed int pointer. It returns 0 if the pointer is nil.
func IsFalseBoolPointer ¶
IsFalseBoolPointer is a simple boolean helper function for boolean pointers
func IsTrueBoolPointer ¶
IsTrueBoolPointer is a simple boolean helper function for boolean pointers
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.