type.go
340 Bytes
package ztype
type UtInt interface {
~int | ~int8 | ~int16 | ~int32 | ~int64
}
type UtUint interface {
~uint | ~uint8 | ~uint16 | ~uint32
}
type UtFloat interface {
~float32 | ~float64
}
type UtInteger interface {
UtInt | UtUint
}
type UtNumber interface {
UtInt | UtUint | UtFloat
}
type UtBase interface {
UtNumber | string
}