Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringFilter ¶
type StringFilter struct {
// contains filtered or unexported fields
}
StringFilter implements an object that performs filtering of strings to ensure that only unique items get through the filter.
func NewStringFilter ¶
func NewStringFilter() *StringFilter
NewStringFilter returns an initialized StringFilter.
func (*StringFilter) Duplicate ¶
func (sf *StringFilter) Duplicate(s string) bool
Duplicate checks if the name provided has been seen before by this filter.
Click to show internal directories.
Click to hide internal directories.