utils

package
v0.0.0-...-0571e71 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2021 License: MIT Imports: 0 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 NewSet

func NewSet() *Set

func (*Set) Add

func (s *Set) Add(value string)

func (*Set) AddAll

func (s *Set) AddAll(values ...string)

func (*Set) Contains

func (s *Set) Contains(value string) bool

func (*Set) Difference

func (s *Set) Difference(other *Set) *Set

func (*Set) Keys

func (s *Set) Keys() []string

func (*Set) Remove

func (s *Set) Remove(value string)

func (*Set) Size

func (s *Set) Size() int

func (*Set) Union

func (s *Set) Union(other *Set) *Set

Jump to

Keyboard shortcuts

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