Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Combinations ¶
Combinations returns all possible unique selections of size `pick` of a list of strings for which order does not matter
an example:
Combinations([cat, dog, bird], 2): [cat] -> Combinations([dog, bird], 1) [cat, dog] [cat, bird] [dog] -> Combinations([bird], 1) [dog, bird] [bird] -> Combinations([], 0) n/a
func RepeatString ¶
RepeatString returns a new slice with the string s repeated n times.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.