Documentation ¶
Index ¶
- func Intersection(slice1 []string, slice2 []string) []string
- func Reverse(slice []string)
- func StringsRemove(slice []string, str string) []string
- func StringsToInts(slice []string) (ints []int, err error)
- func ToSet(items []string) (ret []string)
- func TrimStrings(slice []string, cutSet ...string) (ns []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Intersection ¶
func Reverse ¶
func Reverse(slice []string)
Reverse string slice [site user info 0] -> [0 info user site].
func StringsRemove ¶
StringsRemove an value form an string slice.
func StringsToInts ¶
StringsToInts string slice to int slice.
func TrimStrings ¶
TrimStrings trim string slice item.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.