Documentation ¶
Index ¶
- func BoolPtr(v bool) *bool
- func BoolVal(p *bool, o bool) bool
- func BytePtr(v byte) *byte
- func ByteVal(p *byte, o byte) byte
- func Complex128Ptr(v complex128) *complex128
- func Complex128Val(p *complex128, o complex128) complex128
- func Complex64Ptr(v complex64) *complex64
- func Complex64Val(p *complex64, o complex64) complex64
- func Float32Ptr(v float32) *float32
- func Float32Val(p *float32, o float32) float32
- func Float64Ptr(v float64) *float64
- func Float64Val(p *float64, o float64) float64
- func Int16Ptr(v int16) *int16
- func Int16Val(p *int16, o int16) int16
- func Int32Ptr(v int32) *int32
- func Int32Val(p *int32, o int32) int32
- func Int64Ptr(v int64) *int64
- func Int64Val(p *int64, o int64) int64
- func Int8Ptr(v int8) *int8
- func Int8Val(p *int8, o int8) int8
- func IntPtr(v int) *int
- func IntVal(p *int, o int) int
- func RunePtr(v rune) *rune
- func RuneVal(p *rune, o rune) rune
- func StringPtr(v string) *string
- func StringVal(p *string, o string) string
- func Uint16Ptr(v uint16) *uint16
- func Uint16Val(p *uint16, o uint16) uint16
- func Uint32Ptr(v uint32) *uint32
- func Uint32Val(p *uint32, o uint32) uint32
- func Uint64Ptr(v uint64) *uint64
- func Uint64Val(p *uint64, o uint64) uint64
- func Uint8Ptr(v uint8) *uint8
- func Uint8Val(p *uint8, o uint8) uint8
- func UintPtr(v uint) *uint
- func UintVal(p *uint, o uint) uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolVal ¶
BoolVal returns a bool value from the given pointer, returns the fallback value when nil.
func ByteVal ¶
ByteVal returns a byte value from the given pointer, returns the fallback value when nil.
func Complex128Ptr ¶
func Complex128Ptr(v complex128) *complex128
Complex128Ptr returns a pointer pointed to the given complex128 value.
func Complex128Val ¶
func Complex128Val(p *complex128, o complex128) complex128
Complex128Val returns a complex128 value from the given pointer, returns the fallback value when nil.
func Complex64Ptr ¶
Complex64Ptr returns a pointer pointed to the given complex64 value.
func Complex64Val ¶
Complex64Val returns a complex64 value from the given pointer, returns the fallback value when nil.
func Float32Ptr ¶
Float32Ptr returns a pointer pointed to the given float32 value.
func Float32Val ¶
Float32Val returns a float32 value from the given pointer, returns the fallback value when nil.
func Float64Ptr ¶
Float64Ptr returns a pointer pointed to the given float64 value.
func Float64Val ¶
Float64Val returns a float64 value from the given pointer, returns the fallback value when nil.
func Int16Val ¶
Int16Val returns a int16 value from the given pointer, returns the fallback value when nil.
func Int32Val ¶
Int32Val returns a int32 value from the given pointer, returns the fallback value when nil.
func Int64Val ¶
Int64Val returns a int64 value from the given pointer, returns the fallback value when nil.
func Int8Val ¶
Int8Val returns a int8 value from the given pointer, returns the fallback value when nil.
func IntVal ¶
IntVal returns a int value from the given pointer, returns the fallback value when nil.
func RuneVal ¶
RuneVal returns a rune value from the given pointer, returns the fallback value when nil.
func StringVal ¶
StringVal returns a string value from the given pointer, returns the fallback value when nil.
func Uint16Val ¶
Uint16Val returns a uint16 value from the given pointer, returns the fallback value when nil.
func Uint32Val ¶
Uint32Val returns a uint32 value from the given pointer, returns the fallback value when nil.
func Uint64Val ¶
Uint64Val returns a uint64 value from the given pointer, returns the fallback value when nil.
func Uint8Val ¶
Uint8Val returns a uint8 value from the given pointer, returns the fallback value when nil.
Types ¶
This section is empty.