基础数组定义

This commit is contained in:
zhangdeman committed 2023-06-13 11:28:20 +08:00
1 parent 66e5deb7b0
commit b990529621
2 files changed
+20 -4

No files matched your search

+3 -4
View File
@@ -13,8 +13,7 @@ package op_type
//
// Date : 16:34 2023/4/17
type Array interface {
[]interface{} | []bool | []string | int | int8 | int16 | int32 | int64 |
uint | uint8 | uint16 | uint32 | uint64 |
float32 | float64 |
map[string]interface{} | map[interface{}]interface{} | map[int64]int64 | map[float64]interface{}
[]bool | []string | []int | []int8 | []int16 | []int32 | []int64 |
[]uint | []uint8 | []uint16 | []uint32 | []uint64 |
[]float32 | []float64 | []string
}
+17
View File
@@ -0,0 +1,17 @@
// Package op_type ...
//
// Description : op_type ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 2023-06-13 11:24
package op_type
// BaseType 基础数据类型
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 11:25 2023/6/13
type BaseType interface {
int | int8 | int16 | int32 | int64 | uint | uint8 | uint16 | uint32 | uint64 | float32 | float64 | bool | string
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.