Documentation ¶
Index ¶
- func ContainInt(slice []int, elem int) bool
- func ContainInt64(slice []int64, elem int64) bool
- func ContainString(slice []string, elem string) bool
- func DistinctInt(slice []int) []int
- func DistinctInt64(slice []int64) []int64
- func DistinctString(slice []string) []string
- func Float64s(a []float64)
- func IndexInt(slice []int, elem int) int
- func IndexInt64(slice []int64, elem int64) int
- func IndexString(slice []string, elem string) int
- func Int64s(a []int64)
- func Ints(a []int)
- func RFloat64s(a []float64)
- func RInt64s(a []int64)
- func RInts(a []int)
- func RStrings(a []string)
- func RemoveInt(slice []int, elem ...int) []int
- func RemoveInt64(slice []int64, elem ...int64) []int64
- func RemoveString(slice []string, elem ...string) []string
- func Strings(a []string)
- func SumInt(source []int) (sum int)
- func SumInt64(source []int64) (sum int64)
- type Float64Slice
- type Int64Slice
- type IntSlice
- type StringMapInterface
- type StringMapInterfaceSlice
- type StringMapString
- type StringMapStringSlice
- type StringSlice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Float64Slice ¶
type Float64Slice []float64
float64 切片
func (Float64Slice) Len ¶
func (p Float64Slice) Len() int
func (Float64Slice) Less ¶
func (p Float64Slice) Less(i, j int) bool
func (Float64Slice) Swap ¶
func (p Float64Slice) Swap(i, j int)
type Int64Slice ¶
type Int64Slice []int64
int64 切片
func (Int64Slice) Len ¶
func (p Int64Slice) Len() int
func (Int64Slice) Less ¶
func (p Int64Slice) Less(i, j int) bool
func (Int64Slice) Swap ¶
func (p Int64Slice) Swap(i, j int)
type StringMapInterface ¶
type StringMapInterface struct { Key string Value interface{} }
map[string]interface 切片
type StringMapInterfaceSlice ¶
type StringMapInterfaceSlice []StringMapInterface
func (StringMapInterfaceSlice) Len ¶
func (s StringMapInterfaceSlice) Len() int
func (StringMapInterfaceSlice) Less ¶
func (s StringMapInterfaceSlice) Less(i, j int) bool
func (StringMapInterfaceSlice) Swap ¶
func (s StringMapInterfaceSlice) Swap(i, j int)
type StringMapStringSlice ¶
type StringMapStringSlice []StringMapString
func (StringMapStringSlice) Len ¶
func (s StringMapStringSlice) Len() int
func (StringMapStringSlice) Less ¶
func (s StringMapStringSlice) Less(i, j int) bool
func (StringMapStringSlice) Swap ¶
func (s StringMapStringSlice) Swap(i, j int)
type StringSlice ¶
type StringSlice []string
string 切片
func (StringSlice) Len ¶
func (p StringSlice) Len() int
func (StringSlice) Less ¶
func (p StringSlice) Less(i, j int) bool
func (StringSlice) Swap ¶
func (p StringSlice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.