Documentation ¶ Index ¶ type Empty type StringSet func NewString(items ...string) StringSet func (s StringSet) Has(item string) bool func (s StringSet) Insert(items ...string) func (s StringSet) List() []string func (s *StringSet) Set(v string) error func (s StringSet) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Empty ¶ type Empty struct{} type StringSet ¶ type StringSet map[string]Empty func NewString ¶ func NewString(items ...string) StringSet func (StringSet) Has ¶ func (s StringSet) Has(item string) bool func (StringSet) Insert ¶ func (s StringSet) Insert(items ...string) func (StringSet) List ¶ func (s StringSet) List() []string func (*StringSet) Set ¶ func (s *StringSet) Set(v string) error Set implements flag.Value interface. func (StringSet) String ¶ func (s StringSet) String() string String implements flag.Value interface Source Files ¶ View all Source files string.go Click to show internal directories. Click to hide internal directories.