Documentation ¶
Index ¶
- func BoolToPtr(b bool) *bool
- func CopyMapStringFloat64(m map[string]float64) map[string]float64
- func CopyMapStringInt(m map[string]int) map[string]int
- func CopyMapStringString(m map[string]string) map[string]string
- func CopySliceInt(s []int) []int
- func CopySliceString(s []string) []string
- func MapStringStringSliceValueSet(m map[string][]string) []string
- func SliceSetDisjoint(first, second []string) (bool, []string)
- func SliceStringIsSubset(larger, smaller []string) (bool, []string)
- func SliceStringToSet(s []string) map[string]struct{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyMapStringString ¶
Helpers for copying generic structures.
func CopySliceInt ¶
func CopySliceString ¶
func MapStringStringSliceValueSet ¶
MapStringStringSliceValueSet returns the set of values in a map[string][]string
func SliceSetDisjoint ¶
func SliceStringIsSubset ¶
SliceStringIsSubset returns whether the smaller set of strings is a subset of the larger. If the smaller slice is not a subset, the offending elements are returned.
func SliceStringToSet ¶
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package testtask implements a portable set of commands useful as stand-ins for user tasks.
|
Package testtask implements a portable set of commands useful as stand-ins for user tasks. |
Click to show internal directories.
Click to hide internal directories.