Documentation ¶
Index ¶
- func Bool[T constraints.Bool](t bool) T
- func Complex128[T constraints.Complex128](t complex128) T
- func Complex64[T constraints.Complex64](t complex64) T
- func Float32[T constraints.Float32](t float32) T
- func Float64[T constraints.Float64](t float64) T
- func Int[T constraints.Int](t int) T
- func Int16[T constraints.Int16](t int16) T
- func Int32[T constraints.Int32](t int32) T
- func Int64[T constraints.Int64](t int64) T
- func Int8[T constraints.Int8](t int8) T
- func String[T constraints.String](t string) T
- func Uint[T constraints.Uint](t uint) T
- func Uint16[T constraints.Uint16](t uint16) T
- func Uint32[T constraints.Uint32](t uint32) T
- func Uint64[T constraints.Uint64](t uint64) T
- func Uint8[T constraints.Uint8](t uint8) T
- func Uintptr[T constraints.Uintptr](t uintptr) T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bool ¶ added in v0.0.57
func Bool[T constraints.Bool](t bool) T
func Complex128 ¶
func Complex128[T constraints.Complex128](t complex128) T
func Complex64 ¶
func Complex64[T constraints.Complex64](t complex64) T
func Float32 ¶
func Float32[T constraints.Float32](t float32) T
func Float64 ¶
func Float64[T constraints.Float64](t float64) T
func Int ¶
func Int[T constraints.Int](t int) T
func Int16 ¶
func Int16[T constraints.Int16](t int16) T
func Int32 ¶
func Int32[T constraints.Int32](t int32) T
func Int64 ¶
func Int64[T constraints.Int64](t int64) T
func Int8 ¶
func Int8[T constraints.Int8](t int8) T
func String ¶
func String[T constraints.String](t string) T
func Uint ¶
func Uint[T constraints.Uint](t uint) T
func Uint16 ¶
func Uint16[T constraints.Uint16](t uint16) T
func Uint32 ¶
func Uint32[T constraints.Uint32](t uint32) T
func Uint64 ¶
func Uint64[T constraints.Uint64](t uint64) T
func Uint8 ¶
func Uint8[T constraints.Uint8](t uint8) T
func Uintptr ¶
func Uintptr[T constraints.Uintptr](t uintptr) T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.