基础数组定义

This commit is contained in:
白茶清欢 2023-06-13 11:28:20 +08:00
parent 66e5deb7b0
commit b990529621
2 changed files with 20 additions and 4 deletions

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
base.go Normal file
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
}