Documentation ¶
Index ¶
- func In_slice(val interface{}, slice []interface{}) bool
- func Slice_chunk(slice []interface{}, size int) (chunkslice [][]interface{})
- func Slice_diff(slice1, slice2 []interface{}) (diffslice []interface{})
- func Slice_filter(slice []interface{}, a filtertype) (ftslice []interface{})
- func Slice_intersect(slice1, slice2 []interface{}) (diffslice []interface{})
- func Slice_merge(slice1, slice2 []interface{}) (c []interface{})
- func Slice_pad(slice []interface{}, size int, val interface{}) []interface{}
- func Slice_rand(a []interface{}) (b interface{})
- func Slice_randList(min, max int) []int
- func Slice_range(start, end, step int64) (intslice []int64)
- func Slice_reduce(slice []interface{}, a reducetype) (dslice []interface{})
- func Slice_shuffle(slice []interface{}) []interface{}
- func Slice_sum(intslice []int64) (sum int64)
- func Slice_unique(slice []interface{}) (uniqueslice []interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Slice_chunk ¶
func Slice_chunk(slice []interface{}, size int) (chunkslice [][]interface{})
func Slice_diff ¶
func Slice_diff(slice1, slice2 []interface{}) (diffslice []interface{})
func Slice_filter ¶
func Slice_filter(slice []interface{}, a filtertype) (ftslice []interface{})
func Slice_intersect ¶
func Slice_intersect(slice1, slice2 []interface{}) (diffslice []interface{})
func Slice_merge ¶
func Slice_merge(slice1, slice2 []interface{}) (c []interface{})
func Slice_rand ¶
func Slice_rand(a []interface{}) (b interface{})
func Slice_randList ¶
func Slice_range ¶
func Slice_reduce ¶
func Slice_reduce(slice []interface{}, a reducetype) (dslice []interface{})
func Slice_shuffle ¶
func Slice_shuffle(slice []interface{}) []interface{}
func Slice_unique ¶
func Slice_unique(slice []interface{}) (uniqueslice []interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.