Documentation
¶
Index ¶
- func Int64InSlice(num int64, arr []int64) bool
- func IntInSlice(num int, arr []int) bool
- func Integer2String(i interface{}) string
- func Interface2String(arr []interface{}) []string
- func ReOrderSlice(org []uint32, dst []uint32)
- func RemoveRep(slice []uint32) []uint32
- func RemoveRepInt(slc []int) []int
- func RemoveRepUint64(slc []uint64) []uint64
- func ReverseStringSlice(slice []string) []string
- func SliceInteger2String(arr ...interface{}) []string
- func SliceUint32ToStr(arr ...uint32) []string
- func SliceUint64ToStr(arr ...uint64) []string
- func StrInSlice(str string, arr []string) bool
- func StrSliceRemove(slice []string, i int) []string
- func StringToInt(arr []string) []int
- func StringToUint32(arr []string) []uint32
- func StringToUint64(arr []string) []uint64
- func Uint32ToInt32(arr []uint32) []int32
- type Uint32Slice
- type Uint64Slice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Integer2String ¶
func Integer2String(i interface{}) string
func Interface2String ¶
func Interface2String(arr []interface{}) []string
Interface2String interface的slice转string的slice
func ReOrderSlice ¶
func RemoveRepInt ¶
func RemoveRepUint64 ¶
func ReverseStringSlice ¶
func SliceInteger2String ¶
func SliceInteger2String(arr ...interface{}) []string
func SliceUint64ToStr ¶
SliceUint64ToStr []uint64 to []string
func StrSliceRemove ¶
func StringToUint64 ¶
func Uint32ToInt32 ¶
Types ¶
type Uint32Slice ¶
type Uint32Slice []uint32
用于uid去重
func (Uint32Slice) Len ¶
func (p Uint32Slice) Len() int
func (Uint32Slice) Less ¶
func (p Uint32Slice) Less(i, j int) bool
func (Uint32Slice) Swap ¶
func (p Uint32Slice) Swap(i, j int)
type Uint64Slice ¶
type Uint64Slice []uint64
func (Uint64Slice) Len ¶
func (p Uint64Slice) Len() int
func (Uint64Slice) Less ¶
func (p Uint64Slice) Less(i, j int) bool
func (Uint64Slice) Swap ¶
func (p Uint64Slice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.