collectons

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: GPL-3.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