Documentation ¶
Index ¶
- func FloatConvert[T, V constraints.Float](v V) T
- func IntegerConvert[T, V constraints.Integer](v V) T
- func NumberConvert[T, V Number](v V) T
- func SignedConvert[T, V constraints.Signed](v V) T
- func UnsignedConvert[T, V constraints.Unsigned](v V) T
- type Basic
- type Callback
- type Enum
- type GRPCServiceMethod
- type ID
- type Number
- type Range
- type Store
- type StoreWithExpire
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FloatConvert ¶
func FloatConvert[T, V constraints.Float](v V) T
func IntegerConvert ¶
func IntegerConvert[T, V constraints.Integer](v V) T
func NumberConvert ¶
func NumberConvert[T, V Number](v V) T
func SignedConvert ¶
func SignedConvert[T, V constraints.Signed](v V) T
func UnsignedConvert ¶
func UnsignedConvert[T, V constraints.Unsigned](v V) T
Types ¶
type Enum ¶
type Enum[T constraints.Integer] int
type GRPCServiceMethod ¶
type Number ¶
type Number interface { constraints.Integer | constraints.Float }
type StoreWithExpire ¶
Click to show internal directories.
Click to hide internal directories.