feat: generic 包新增 Basic 类型
This commit is contained in:
parent
0b77cc9907
commit
d405cae73f
|
@ -34,3 +34,8 @@ type Unsigned interface {
|
||||||
type Float interface {
|
type Float interface {
|
||||||
~float32 | ~float64
|
~float32 | ~float64
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Basic 基本类型
|
||||||
|
type Basic interface {
|
||||||
|
Signed | Unsigned | Float | ~string | ~bool | ~byte
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue