Documentation ¶ Index ¶ type Basic type Float type Hash type Int type Number type Ordered type SignedInt type UnsignedInt Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Basic ¶ type Basic interface { Ordered bool | []byte | rune | byte ~bool | ~[]byte | ~rune | ~byte } type Float ¶ type Float interface { float32 | float64 ~float32 | ~float64 } type Hash ¶ type Hash interface { constraints.Integer | constraints.Float | constraints.Complex | ~string | uintptr | ~unsafe.Pointer } type Int ¶ type Int interface { int | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint8 | ~uint16 | ~uint32 | ~uint64 } type Number ¶ type Number interface { Int | Float } type Ordered ¶ type Ordered interface { Int | Float | ~string } Ordered 可排序类型 type SignedInt ¶ type SignedInt interface { int | int8 | int16 | int32 | int64 ~int | ~int8 | ~int16 | ~int32 | ~int64 } type UnsignedInt ¶ type UnsignedInt interface { uint | uint8 | uint16 | uint32 | uint64 ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 } Source Files ¶ View all Source files basic.go number.go ordered.go Click to show internal directories. Click to hide internal directories.