diff --git a/array.go b/array.go index a082875..161009b 100644 --- a/array.go +++ b/array.go @@ -14,6 +14,6 @@ package op_type // Date : 16:34 2023/4/17 type Array interface { []bool | []string | []int | []int8 | []int16 | []int32 | []int64 | - []uint | []uint8 | []uint16 | []uint32 | []uint64 | - []float32 | []float64 | []any + []uint | []uint8 | []uint16 | []uint32 | []uint64 | + []float32 | []float64 | []any } diff --git a/dict.go b/dict.go index 8c8a9d4..d233402 100644 --- a/dict.go +++ b/dict.go @@ -8,12 +8,8 @@ package op_type // Dict ... -// -// Author : go_developer@163.com<白茶清欢> -// -// Date : 20:18 2023/4/15 type Dict interface { - map[string]interface{} | map[interface{}]interface{} | map[int64]int64 | map[float64]interface{} + map[string]any | map[any]any | map[int64]int64 | map[float64]any } type MapSlice[K string, V []int64 | []uint64 | []string | []any] map[K]V diff --git a/int.go b/int.go index f0065b2..5be266e 100644 --- a/int.go +++ b/int.go @@ -8,10 +8,11 @@ package op_type // Int int类型 -// -// Author : go_developer@163.com<白茶清欢> -// -// Date : 20:07 2023/4/15 type Int interface { int | int8 | int16 | int32 | int64 } + +// Uint uint类型 +type Uint interface { + uint | uint8 | uint16 | uint32 | uint64 +} diff --git a/uint.go b/uint.go deleted file mode 100644 index 79724f3..0000000 --- a/uint.go +++ /dev/null @@ -1,17 +0,0 @@ -// Package op_type ... -// -// Description : op_type ... -// -// Author : go_developer@163.com<白茶清欢> -// -// Date : 2023-04-15 20:10 -package op_type - -// Uint ... -// -// Author : go_developer@163.com<白茶清欢> -// -// Date : 20:10 2023/4/15 -type Uint interface { - uint | uint8 | uint16 | uint32 | uint64 -}