Documentation ¶
Index ¶
- func Any2Int(v interface{}) (int, error)
- func Any2Int32(v interface{}) (int32, error)
- func Any2Int64(v interface{}) (int64, error)
- func AnySlice2Int(vs []interface{}) ([]int, error)
- func Int2Any(v interface{}) interface{}
- func Int2Str(v int) string
- func Int32TAny(v interface{}) interface{}
- func Int32ToInt(v int32) int
- func Int32ToInt64(v int32) int64
- func Int32ToStr(v int32) string
- func Int64TAny(v interface{}) interface{}
- func Int64ToInt(v int64) int
- func Int64ToInt32(v int64) int32
- func Int64ToStr(v int64) string
- func IntSlice2Any(vs []int) []interface{}
- func IntToInt32(v int) int32
- func IntToInt64(v int) int64
- func MaxInt(vs ...int) int
- func MaxInt32(vs ...int32) int32
- func MaxInt64(vs ...int64) int64
- func MinInt(vs ...int) int
- func MinInt32(vs ...int32) int32
- func MinInt64(vs ...int64) int64
- func MustAny2Int(v interface{}) int
- func MustAny2Int32(v interface{}) int32
- func MustAny2Int64(v interface{}) int64
- func MustAnySlice2Int(vs []interface{}) []int
- func MustAnySlice2Int32(vs []interface{}) []int32
- func MustAnySlice2Int64(vs []interface{}) []int64
- func SliceAny2Int32(vs []interface{}) ([]int32, error)
- func SliceAny2Int64(vs []interface{}) ([]int64, error)
- func SliceInt2Int32(vs []int) []int32
- func SliceInt2Int64(vs []int) []int64
- func SliceInt32Equal(v1, v2 []int32) bool
- func SliceInt32EqualStrict(v1, v2 []int32) bool
- func SliceInt32Int(vs []int32) []int
- func SliceInt32TAny(vs []int32) []interface{}
- func SliceInt32TInt64(vs []int32) []int64
- func SliceInt64Equal(v1, v2 []int64) bool
- func SliceInt64EqualStrict(v1, v2 []int64) bool
- func SliceInt64TAny(vs []int64) []interface{}
- func SliceInt64TInt(vs []int64) []int
- func SliceInt64TInt32(vs []int64) []int32
- func SliceIntEqual(v1, v2 []int) bool
- func SliceIntEqualStrict(v1, v2 []int) bool
- type Int32Slice
- type Int64Slice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnySlice2Int ¶
func Int32ToInt ¶
func Int32ToInt64 ¶
func Int32ToStr ¶ added in v1.3.8
func Int64ToInt ¶
func Int64ToInt32 ¶
func Int64ToStr ¶ added in v1.3.8
func IntSlice2Any ¶
func IntSlice2Any(vs []int) []interface{}
func IntToInt32 ¶
func IntToInt64 ¶
func MustAny2Int ¶
func MustAny2Int(v interface{}) int
func MustAny2Int32 ¶
func MustAny2Int32(v interface{}) int32
func MustAny2Int64 ¶
func MustAny2Int64(v interface{}) int64
func MustAnySlice2Int ¶ added in v1.4.1
func MustAnySlice2Int(vs []interface{}) []int
func MustAnySlice2Int32 ¶ added in v1.4.1
func MustAnySlice2Int32(vs []interface{}) []int32
func MustAnySlice2Int64 ¶ added in v1.4.1
func MustAnySlice2Int64(vs []interface{}) []int64
func SliceAny2Int32 ¶
func SliceAny2Int64 ¶
func SliceInt2Int32 ¶ added in v1.4.1
func SliceInt2Int64 ¶ added in v1.4.1
func SliceInt32Equal ¶
func SliceInt32EqualStrict ¶
func SliceInt32Int ¶ added in v1.4.1
func SliceInt32TAny ¶
func SliceInt32TAny(vs []int32) []interface{}
func SliceInt32TInt64 ¶ added in v1.4.1
func SliceInt64Equal ¶
func SliceInt64EqualStrict ¶
func SliceInt64TAny ¶
func SliceInt64TAny(vs []int64) []interface{}
func SliceInt64TInt ¶ added in v1.4.1
func SliceInt64TInt32 ¶ added in v1.4.1
func SliceIntEqual ¶
func SliceIntEqualStrict ¶
Types ¶
type Int32Slice ¶
type Int32Slice []int32
func (Int32Slice) Len ¶
func (x Int32Slice) Len() int
func (Int32Slice) Less ¶
func (x Int32Slice) Less(i, j int) bool
func (Int32Slice) Swap ¶
func (x Int32Slice) Swap(i, j int)
type Int64Slice ¶
type Int64Slice []int64
func (Int64Slice) Len ¶
func (x Int64Slice) Len() int
func (Int64Slice) Less ¶
func (x Int64Slice) Less(i, j int) bool
func (Int64Slice) Swap ¶
func (x Int64Slice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.