Documentation ¶
Index ¶
- func Contains(slice []string, element string) bool
- func ContainsStringWithPrefix(slice []string, prefix string) bool
- func Equal(a, b []string) bool
- func JoinNonEmpty(elems []string, sep string) string
- func JoinSlices(sep string, slices ...[]string) []string
- func MaxLen(elems []string) int
- func NonEmpty(elems []string) []string
- func PrettyString(v interface{}) string
- func QuotedStrings(elems []string) []string
- func SubtractSlices(a, b []string) []string
- func ToJsonString(v interface{}) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JoinNonEmpty ¶
JoinNonEmpty does the same as strings.Join but omits empty elements
func JoinSlices ¶
func PrettyString ¶
func PrettyString(v interface{}) string
func QuotedStrings ¶
func SubtractSlices ¶
func ToJsonString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.