Compare commits

...

2 Commits

Author SHA1 Message Date
4928421213 update array 2024-01-22 18:40:27 +08:00
ca8081f83a update 2023-10-14 21:06:41 +08:00
3 changed files with 4 additions and 2 deletions

View File

@ -15,5 +15,5 @@ package op_type
type Array interface {
[]bool | []string | []int | []int8 | []int16 | []int32 | []int64 |
[]uint | []uint8 | []uint16 | []uint32 | []uint64 |
[]float32 | []float64
[]float32 | []float64 | []any
}

View File

@ -13,5 +13,5 @@ package op_type
//
// Date : 11:25 2023/6/13
type BaseType interface {
int | int8 | int16 | int32 | int64 | uint | uint8 | uint16 | uint32 | uint64 | float32 | float64 | bool | string
any | int | int8 | int16 | int32 | int64 | uint | uint8 | uint16 | uint32 | uint64 | float32 | float64 | bool | string
}

View File

@ -15,3 +15,5 @@ package op_type
type Dict interface {
map[string]interface{} | map[interface{}]interface{} | map[int64]int64 | map[float64]interface{}
}
type MapSlice[K string, V []int64 | []uint64 | []string | []any] map[K]V