feat: update code
This commit is contained in:
4
array.go
4
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
|
||||
}
|
||||
|
||||
6
dict.go
6
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
|
||||
|
||||
9
int.go
9
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
|
||||
}
|
||||
|
||||
17
uint.go
17
uint.go
@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user