添加数字类型

This commit is contained in:
kercylan98 2023-06-01 11:35:08 +08:00
parent 3d9d6a9da9
commit 77673baa23
1 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,10 @@ type Ordered interface {
Integer | Float | ~string
}
type Number interface {
Integer | Float
}
type Integer interface {
Signed | Unsigned
}