This commit is contained in:
白茶清欢 2023-04-17 17:17:52 +08:00
parent de991130e3
commit 66e5deb7b0

View File

@ -12,6 +12,9 @@ package op_type
// Author : go_developer@163.com<白茶清欢>
//
// Date : 16:34 2023/4/17
type Array[num Number, dict Dict] interface {
[]interface{} | []bool | []string | []num | []dict
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{}
}