This commit is contained in:
白茶清欢 2023-10-14 21:06:41 +08:00
parent 1785d55796
commit ca8081f83a
2 changed files with 3 additions and 1 deletions

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