strset

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2018 License: MIT Imports: 1 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

type Set map[string]struct{}

func NewSet

func NewSet(vals []string) Set

func (Set) Add

func (s Set) Add(x Set) Set

func (Set) Chan

func (s Set) Chan() <-chan string

func (Set) Copy

func (s Set) Copy() Set

func (Set) Delete

func (s Set) Delete(elem string) Set

func (Set) Filter

func (s Set) Filter(pred func(string) bool) Set

func (Set) Have

func (s Set) Have(v string) bool

func (Set) Intersect

func (s Set) Intersect(x Set) Set

func (Set) Map

func (s Set) Map(op func(string) string) Set

func (Set) MarshalJSON

func (s Set) MarshalJSON() ([]byte, error)

func (Set) New

func (s Set) New() Set

func (Set) Slice

func (s Set) Slice() []string

func (Set) Sub added in v0.1.1

func (s Set) Sub(x Set) Set

func (*Set) UnmarshalJSON

func (s *Set) UnmarshalJSON(p []byte) error

Jump to

Keyboard shortcuts

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