Documentation ¶
Index ¶
- func InInt(slice []int, target int) bool
- func InRune(slice []rune, target rune) bool
- func InStrings(slice []string, target string) bool
- func JoinInts(ints []int, delimiter string) string
- func JoinStrings(strs []string, delimiter string) string
- func RemoveElement(s []string, i int) []string
- func RemoveElementsFromStringByIndex(data []string, j []int) []string
- func RemoveIntByIndex(slice []int, s int) []int
- func RemoveIntByValue(slice []int, value int) []int
- func RemoveStringByIndex(slice []string, s int) []string
- func RemoveStrings(slice, toRemove []string) []string
- func ReverseArrayInt(n1 []int) []int
- func ReverseArrayString(n1 []string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InInt ¶ added in v0.0.26
In is delegated to verify if the given value is present in the target slice
func InRune ¶ added in v0.0.26
In is delegated to verify if the given value is present in the target slice
func InStrings ¶ added in v0.0.45
InStrings is delegated to verify if the given string arrays contains the target
func JoinInts ¶ added in v0.0.20
JoinInts use a strings.Builder for concatenate the input string array. It concatenate the strings among the delimiter in input
func JoinStrings ¶
JoinStrings use a strings.Builder for concatenate the input string array. It concatenate the strings among the delimiter in input
func RemoveElement ¶
RemoveElement is delegated to delete the element related to index i
func RemoveElementsFromStringByIndex ¶ added in v0.0.25
RemoveElementsFromStringByIndex delete the element of the indexes contained in j of the data in input
func RemoveIntByIndex ¶ added in v0.0.20
RemoveIntByIndex is delegated to remove the element of index s
func RemoveIntByValue ¶ added in v0.0.24
RemoveIntByValue is delegated to remove the element that contains the given value
func RemoveStringByIndex ¶ added in v0.0.20
RemoveStringByIndex the item in position s from the input array
func RemoveStrings ¶ added in v0.0.20
RemoveStrings is delegated to remove the input 'toRemove' value from the given slice
func ReverseArrayInt ¶ added in v0.0.20
ReverseArrayInt is delegated to return the inverse rappresentation of the array
func ReverseArrayString ¶ added in v0.0.20
ReverseArrayString is delegated to return the inverse rappresentation of the array
Types ¶
This section is empty.