Documentation ¶
Index ¶
- func Bool(v *bool) bool
- func Float32(v *float32) float32
- func Float64(v *float64) float64
- func Int(v *int) int
- func Int16(v *int16) int16
- func Int32(v *int32) int32
- func Int64(v *int64) int64
- func Int8(v *int8) int8
- func NewBool(v bool) *bool
- func NewFloat32(v float32) *float32
- func NewFloat64(v float64) *float64
- func NewInt(v int) *int
- func NewInt16(v int16) *int16
- func NewInt32(v int32) *int32
- func NewInt64(v int64) *int64
- func NewInt8(v int8) *int8
- func NewString(v string) *string
- func NewUInt16(v uint16) *uint16
- func NewUInt32(v uint32) *uint32
- func NewUInt64(v uint64) *uint64
- func NewUInt8(v uint8) *uint8
- func NewUint(v uint) *uint
- func String(v *string) string
- func UInt16(v *uint16) uint16
- func UInt32(v *uint32) uint32
- func UInt64(v *uint64) uint64
- func UInt8(v *uint8) uint8
- func Uint(v *uint) uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bool ¶
Bool returns the underlying value of the given pointer or if that pointer is `nil` a zero value
func Float32 ¶
Float32 returns the underlying value of the given pointer or if that pointer is `nil` a zero value
func Float64 ¶
Float64 returns the underlying value of the given pointer or if that pointer is `nil` a zero value
func Int ¶
Int returns the underlying value of the given pointer or if that pointer is `nil` a zero value
func Int16 ¶
Int16 returns the underlying value of the given pointer or if that pointer is `nil` a zero value
func Int32 ¶
Int32 returns the underlying value of the given pointer or if that pointer is `nil` a zero value
func Int64 ¶
Int64 returns the underlying value of the given pointer or if that pointer is `nil` a zero value
func Int8 ¶
Int8 returns the underlying value of the given pointer or if that pointer is `nil` a zero value
func NewFloat32 ¶
NewFloat32 produces a pointer to the given primitive value
func NewFloat64 ¶
NewFloat64 produces a pointer to the given primitive value
func String ¶
String returns the underlying value of the given pointer or if that pointer is `nil` a zero value
func UInt16 ¶
UInt16 returns the underlying value of the given pointer or if that pointer is `nil` a zero value
func UInt32 ¶
UInt32 returns the underlying value of the given pointer or if that pointer is `nil` a zero value
func UInt64 ¶
UInt64 returns the underlying value of the given pointer or if that pointer is `nil` a zero value
Types ¶
This section is empty.