stringset

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

type Set struct {
	// contains filtered or unexported fields
}

func New

func New() Set

func (*Set) Add

func (s *Set) Add(items []string) error

func (*Set) Drain

func (s *Set) Drain(ctx context.Context) <-chan string

func (*Set) HasKey

func (s *Set) HasKey(item string) bool

func (*Set) Reset

func (s *Set) Reset()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址