Versions in this module Expand all Collapse all v1 v1.0.0 Mar 15, 2024 Changes in this version + func AllUnique(strs []string) (ok bool) + func CloneSlice(strs []string) (clone []string) + func CloneSliceOrEmpty(strs []string) (clone []string) + func Coalesce(strs ...string) (res string) + func ContainsFold(s, substr string) (ok bool) + func FilterOut(strs []string, f func(s string) (ok bool)) (filtered []string) + func InSlice(strs []string, str string) (ok bool) + func SplitTrimmed(str, sep string) (strs []string) + func WriteToBuilder(b *strings.Builder, strs ...string) + type Set struct + func NewSet(strs ...string) (set *Set) + func (set *Set) Add(s string) + func (set *Set) Clone() (clone *Set) + func (set *Set) Del(s string) + func (set *Set) Equal(other *Set) (ok bool) + func (set *Set) Has(s string) (ok bool) + func (set *Set) Len() (n int) + func (set *Set) Range(f func(s string) (cont bool)) + func (set *Set) String() (s string) + func (set *Set) Values() (strs []string)