Documentation ¶
Index ¶
- func Bool(v bool) *bool
- func Byte(v byte) *byte
- func Complex128(v complex128) *complex128
- func Complex64(v complex64) *complex64
- func Date(v connection.Date) *connection.Date
- func DateTime(v connection.DateTime) *connection.DateTime
- func Float32(v float32) *float32
- func Float64(v float64) *float64
- func IPAddress(v connection.IPAddress) *connection.IPAddress
- 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 String(v string) *string
- func ToBoolOrDefault(b *bool) bool
- func ToComplex128OrDefault(i *complex128) complex128
- func ToComplex64OrDefault(i *complex64) complex64
- func ToDateOrDefault(d *connection.Date) connection.Date
- func ToDateTimeOrDefault(d *connection.DateTime) connection.DateTime
- func ToFloat32OrDefault(i *float32) float32
- func ToFloat64OrDefault(i *float64) float64
- func ToIPAddressOrDefault(i *connection.IPAddress) connection.IPAddress
- func ToInt16OrDefault(i *int16) int16
- func ToInt32OrDefault(i *int32) int32
- func ToInt64OrDefault(i *int64) int64
- func ToInt8OrDefault(i *int8) int8
- func ToIntOrDefault(i *int) int
- func ToStringOrDefault(s *string) string
- func ToUInt16OrDefault(i *uint16) uint16
- func ToUInt32OrDefault(i *uint32) uint32
- func ToUInt64OrDefault(i *uint64) uint64
- func ToUInt8OrDefault(i *uint8) uint8
- func ToUIntOrDefault(i *uint) uint
- func ToUIntPtrOrDefault(i *uintptr) uintptr
- func UInt(v uint) *uint
- func UInt16(v uint16) *uint16
- func UInt32(v uint32) *uint32
- func UInt64(v uint64) *uint64
- func UInt8(v uint8) *uint8
- func UIntPtr(v uintptr) *uintptr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Complex128 ¶
func Complex128(v complex128) *complex128
Complex128 returns a pointer to a 128-bit complex number
func DateTime ¶
func DateTime(v connection.DateTime) *connection.DateTime
DateTime returns a pointer to a DateTime
func IPAddress ¶
func IPAddress(v connection.IPAddress) *connection.IPAddress
IPAddress returns a pointer to a IPAddress
func ToBoolOrDefault ¶
ToBoolOrDefault is a helper method for retrieving a boolean from a pointer to a boolean value (or zero value if nil)
func ToComplex128OrDefault ¶
func ToComplex128OrDefault(i *complex128) complex128
ToComplex128OrDefault is a helper method for retrieving a 128-bit complex number from a pointer to an complex number value (or zero value if nil)
func ToComplex64OrDefault ¶
ToComplex64OrDefault is a helper method for retrieving a 64-bit complex number from a pointer to an complex number value (or zero value if nil)
func ToDateOrDefault ¶
func ToDateOrDefault(d *connection.Date) connection.Date
ToDateOrDefault is a helper method for retrieving a Date from a pointer to a Date value (or zero value if nil)
func ToDateTimeOrDefault ¶
func ToDateTimeOrDefault(d *connection.DateTime) connection.DateTime
ToDateTimeOrDefault is a helper method for retrieving a DateTime from a pointer to a DateTime value (or zero value if nil)
func ToFloat32OrDefault ¶
ToFloat32OrDefault is a helper method for retrieving a 32-bit floating-point number from a pointer to an floating-point number value (or zero value if nil)
func ToFloat64OrDefault ¶
ToFloat64OrDefault is a helper method for retrieving a 64-bit floating-point number from a pointer to an floating-point number value (or zero value if nil)
func ToIPAddressOrDefault ¶
func ToIPAddressOrDefault(i *connection.IPAddress) connection.IPAddress
ToIPAddressOrDefault is a helper method for retrieving an IPAddress from a pointer to an IPAddress value (or zero value if nil)
func ToInt16OrDefault ¶
ToInt16OrDefault is a helper method for retrieving a 16-bit integer from a pointer to an integer value (or zero value if nil)
func ToInt32OrDefault ¶
ToInt32OrDefault is a helper method for retrieving a 32-bit integer from a pointer to an integer value (or zero value if nil)
func ToInt64OrDefault ¶
ToInt64OrDefault is a helper method for retrieving a 64-bit integer from a pointer to an integer value (or zero value if nil)
func ToInt8OrDefault ¶
ToInt8OrDefault is a helper method for retrieving an 8-bit integer from a pointer to an integer value (or zero value if nil)
func ToIntOrDefault ¶
ToIntOrDefault is a helper method for retrieving an integer from a pointer to an integer value (or zero value if nil)
func ToStringOrDefault ¶
ToStringOrDefault is a helper method for retrieving a string from a pointer to a string value (or zero value if nil)
func ToUInt16OrDefault ¶
ToUInt16OrDefault is a helper method for retrieving a 16-bit unsigned integer from a pointer to an integer value (or zero value if nil)
func ToUInt32OrDefault ¶
ToUInt32OrDefault is a helper method for retrieving a 32-bit unsigned integer from a pointer to an integer value (or zero value if nil)
func ToUInt64OrDefault ¶
ToUInt64OrDefault is a helper method for retrieving a 64-bit unsigned integer from a pointer to an integer value (or zero value if nil)
func ToUInt8OrDefault ¶
ToUInt8OrDefault is a helper method for retrieving an 8-bit unsigned integer from a pointer to an integer value (or zero value if nil)
func ToUIntOrDefault ¶
ToUIntOrDefault is a helper method for retrieving an unsigned integer from a pointer to an integer value (or zero value if nil)
func ToUIntPtrOrDefault ¶
ToUIntPtrOrDefault is a helper method for retrieving an unsigned integer from a pointer to an integer value (or zero value if nil)
Types ¶
This section is empty.