Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeSlices ¶
MergeSlices merges a set of sorted string slices into a single ones while removing all duplicates. If limit is set, only the first limit results will be returned. 0 to disable.
func MergeUnsortedSlices ¶
MergeUnsortedSlices behaves like StringSlices but input slices are validated for sortedness and are sorted if they are not ordered yet. If limit is set, only the first limit results will be returned. 0 to disable.
func ParseFlagLabels ¶ added in v0.37.0
ParseFlagLabels helps handle lists of labels passed from kingpin flags. * Split flag parts that are comma separated. * Remove any empty strings. * Sort and deduplicate the slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.