Documentation
¶
Index ¶
- func AppendInt(slice []int, index int, val int) []int
- func AppendInterFace(slice []interface{}, index int, val interface{}) []interface{}
- func DifferenceString(a, b []string) []string
- func Find(slice []interface{}, val interface{}) int
- func RemoveInt(slice []int, index int) []int
- func RemoveInterface(slice []interface{}, index int) []interface{}
- func SortRandomly(slice []interface{}) []interface{}
- func SortRandomlyInt(slice []int) []int
- func SortRandomlyString(slice []string) []string
- func ToString(slice []interface{}, sep string) string
- func ToStringItems(slice []interface{}) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendInterFace ¶
func AppendInterFace(slice []interface{}, index int, val interface{}) []interface{}
Append an item by index
func RemoveInterface ¶
func RemoveInterface(slice []interface{}, index int) []interface{}
Remove slice item by index []interface
func SortRandomly ¶
func SortRandomly(slice []interface{}) []interface{}
func SortRandomlyInt ¶
func SortRandomlyString ¶
Sort slices randomly []string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.