collectons

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IndexOfStringSlice

func IndexOfStringSlice(s []string, target string) int

Types

type StringSet

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

func NewStringSet

func NewStringSet() *StringSet

func (*StringSet) Add

func (s *StringSet) Add(item string)

func (*StringSet) Delete

func (s *StringSet) Delete(item string)

func (*StringSet) Difference

func (s *StringSet) Difference(items []string) []string

func (*StringSet) Exists

func (s *StringSet) Exists(item string) bool

func (*StringSet) ToSlice

func (s *StringSet) ToSlice() []string

Jump to

Keyboard shortcuts

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