Documentation ¶
Index ¶
- func ToBool(b bool) *bool
- func ToByte(b byte) *byte
- func ToComplex128(c complex128) *complex128
- func ToComplex64(c complex64) *complex64
- func ToDuration(d time.Duration) *time.Duration
- func ToError(e error) *error
- func ToFloat32(f float32) *float32
- func ToFloat64(f float64) *float64
- func ToInt(i int) *int
- func ToInt16(i int16) *int16
- func ToInt32(i int32) *int32
- func ToInt64(i int64) *int64
- func ToInt8(i int8) *int8
- func ToRune(r rune) *rune
- func ToString(s string) *string
- func ToTime(t time.Time) *time.Time
- func ToUint(u uint) *uint
- func ToUint16(u uint16) *uint16
- func ToUint32(u uint32) *uint32
- func ToUint64(u uint64) *uint64
- func ToUint8(u uint8) *uint8
- func ToUintptr(u uintptr) *uintptr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToComplex128 ¶
func ToComplex128(c complex128) *complex128
ToComplex128 returns a pointer to the passed complex128 value.
func ToComplex64 ¶
ToComplex64 returns a pointer to the passed complex64 value.
func ToDuration ¶
ToDuration returns a pointer to the passed time.Duration value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.