Documentation ¶
Overview ¶
Package some provides helpers to allow users to user inline pointers on primitive types for the TypedAPI.
Index ¶
- func Bool(value bool) *bool
- func Byte(value byte) *byte
- func Complex128(value complex128) *complex128
- func Complex64(value complex64) *complex64
- func Float32(value float32) *float32
- func Float64(value float64) *types.Float64
- func Int(value int) *int
- func Int16(value int16) *int16
- func Int32(value int32) *int32
- func Int64(value int64) *int64
- func Int8(value int8) *int8
- func Rune(value rune) *rune
- func String(value string) *string
- func Uint(value uint) *uint
- func Uint16(value uint16) *uint16
- func Uint32(value uint32) *uint32
- func Uint64(value uint64) *uint64
- func Uint8(value uint8) *uint8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Complex128 ¶
func Complex128(value complex128) *complex128
Complex128 returns a pointer to a complex128
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.