Compare commits

..
0 Commits
5 changed files with 29 additions and 11 deletions

No files matched your search

+2 -2
View File
@@ -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
}
+1 -1
View File
@@ -13,5 +13,5 @@ package op_type
//
// Date : 11:25 2023/6/13
type BaseType interface {
any | int | int8 | int16 | int32 | int64 | uint | uint8 | uint16 | uint32 | uint64 | float32 | float64 | bool | string
int | int8 | int16 | int32 | int64 | uint | uint8 | uint16 | uint32 | uint64 | float32 | float64 | bool | string
}
+5 -3
View File
@@ -8,8 +8,10 @@
package op_type
// Dict ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 20:18 2023/4/15
type Dict interface {
map[string]any | map[any]any | map[int64]int64 | map[float64]any
map[string]interface{} | map[interface{}]interface{} | map[int64]int64 | map[float64]interface{}
}
type MapSlice[K string, V []int64 | []uint64 | []string | []any] map[K]V
+4 -5
View File
@@ -8,11 +8,10 @@
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
View File
@@ -0,0 +1,17 @@
// 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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.