Documentation
¶
Index ¶
- func ToByteSlicesPointer(v [][]byte) *[][]byte
- func ToBytesPointer(v []byte) *[]byte
- func ToDurationPointer(v time.Duration) *time.Duration
- func ToFloat32Pointer(v float32) *float32
- func ToFloat64Pointer(v float64) *float64
- func ToInt16Pointer(v int16) *int16
- func ToInt32Pointer(v int32) *int32
- func ToInt64Pointer(v int64) *int64
- func ToInt8Pointer(v int8) *int8
- func ToIntPointer(v int) *int
- func ToStringPointer(v string) *string
- func ToStringSlicePointer(v []string) *[]string
- func ToTimePointer(v time.Time) *time.Time
- func ToUint16Pointer(v uint16) *uint16
- func ToUint32Pointer(v uint32) *uint32
- func ToUint64Pointer(v uint64) *uint64
- func ToUint8Pointer(v uint8) *uint8
- func ToUintPointer(v uint) *uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToByteSlicesPointer ¶
ToByteSlicesPointer returns a pointer to the [][]byte value passed in.
func ToBytesPointer ¶
ToBytesPointer returns a pointer to the []byte value passed in.
func ToDurationPointer ¶
ToDurationPointer returns a pointer to the time.Duration value passed in.
func ToFloat32Pointer ¶
ToFloat32Pointer returns a pointer to the float32 value passed in.
func ToFloat64Pointer ¶
ToFloat64Pointer returns a pointer to the float64 value passed in.
func ToInt16Pointer ¶
ToInt16Pointer returns a pointer to the int16 value passed in.
func ToInt32Pointer ¶
ToInt32Pointer returns a pointer to the int32 value passed in.
func ToInt64Pointer ¶
ToInt64Pointer returns a pointer to the int64 value passed in.
func ToInt8Pointer ¶
ToInt8Pointer returns a pointer to the int8 value passed in.
func ToIntPointer ¶
ToIntPointer returns a pointer to the int value passed in.
func ToStringPointer ¶
ToStringPointer returns a pointer to the string value passed in.
func ToStringSlicePointer ¶
ToStringSlicePointer returns a pointer to the []string value passed in.
func ToTimePointer ¶
ToTimePointer returns a pointer to the time.Time value passed in.
func ToUint16Pointer ¶
ToUint16Pointer returns a pointer to the uint16 value passed in.
func ToUint32Pointer ¶
ToUint32Pointer returns a pointer to the uint32 value passed in.
func ToUint64Pointer ¶
ToUint64Pointer returns a pointer to the uint64 value passed in.
func ToUint8Pointer ¶
ToUint8Pointer returns a pointer to the uint8 value passed in.
Types ¶
This section is empty.
Source Files
¶
- values.go