mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-04-07 04:58:04 +08:00
14 lines
351 B
Go
14 lines
351 B
Go
package utils
|
|
|
|
type Hashable interface {
|
|
~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr | ~float32 | ~float64 | ~string
|
|
}
|
|
|
|
type SignedNumber interface {
|
|
~int | ~int8 | ~int16 | ~int32 | ~int64 | ~float32 | ~float64
|
|
}
|
|
|
|
type UnsignedNumber interface {
|
|
~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64
|
|
}
|