diff --git a/array.go b/array.go index bebcb48..31a1bee 100644 --- a/array.go +++ b/array.go @@ -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 } diff --git a/base.go b/base.go new file mode 100644 index 0000000..77eaa4f --- /dev/null +++ b/base.go @@ -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 +}