Documentation ¶
Index ¶
- func AppendWithoutDupes(a []string, b ...string) []string
- func BulletedIndentedStringList(list []string) string
- func DedupedAndSorted(slice []string) (result []string)
- func QuotedStringList(list []string) string
- func StringSliceEquals(a, b []string) bool
- func StringSliceStartsWith(a []string, elem string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendWithoutDupes ¶ added in v0.7.11
returns a slice that consists of `a`, in order, followed by elements of `b` that are not in `a`
func BulletedIndentedStringList ¶ added in v0.10.14
func DedupedAndSorted ¶ added in v0.5.1
Deduplicate and sort a slice of strings.
func QuotedStringList ¶ added in v0.8.3
Quote each string in the list and separate them by commas.
func StringSliceEquals ¶ added in v0.6.0
func StringSliceStartsWith ¶ added in v0.9.5
StringSliceStartsWith returns true if slice A starts with the given elem.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.