Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Combinations ¶
Combinations returns combinations of n elements for a given int array. For n < 1, it equals to All and returns all combinations. int is chosen because they can than be treated as indices
func ToMap ¶
func ToMap(in interface{}) map[string]interface{}
ToMap uses json tags on struct fields to decide which fields to add to the returned map. inspired by https://stackoverflow.com/a/23598731/10633734
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.