-
Notifications
You must be signed in to change notification settings - Fork 0
/
utils_types.go
41 lines (31 loc) · 912 Bytes
/
utils_types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package glog
type Ints interface {
int64 | int32 | int16 | int8 | int
}
type IntOrInterface interface {
int64 | int32 | int16 | int8 | int | interface{}
}
type Uints interface {
uint64 | uint32 | uint16 | uint8 | uint
}
type UintOrInterface interface {
uint64 | uint32 | uint16 | uint8 | uint | interface{}
}
type IntOrUint interface {
int64 | int32 | int16 | int8 | int | uint64 | uint32 | uint16 | uint8 | uint
}
type Floats interface {
float32 | float64
}
type FloatOrInterface interface {
float32 | float64 | interface{}
}
type Number interface {
int64 | int32 | int16 | int8 | int | uint64 | uint32 | uint16 | uint8 | uint | float32 | float64
}
type NumberOrInterface interface {
int64 | int32 | int16 | int8 | int | uint64 | uint32 | uint16 | uint8 | uint | float32 | float64 | interface{}
}
type Durations interface {
uint32 | uint64 | uint | int32 | int64 | int | float32 | float64
}