sets

package
v0.10.9 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 0 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type String

type String map[string]interface{}

func (String) Difference

func (s String) Difference(s2 String) String

func (String) Has

func (s String) Has(val string) bool

func (String) Insert

func (s String) Insert(vals ...string)

func (String) Intersection

func (s String) Intersection(s2 String) String

func (String) Len

func (s String) Len() int

func (String) List

func (s String) List() []string

func (String) SymmetricDifference

func (s String) SymmetricDifference(s2 String) String

type StringList added in v0.9.4

type StringList [][]string

StringList is a set, where each element of the set is a string slice.

func (StringList) Has added in v0.9.4

func (s StringList) Has(val []string) bool

func (StringList) Insert added in v0.9.4

func (s StringList) Insert(val []string) StringList

func (StringList) Len added in v0.9.4

func (s StringList) Len() int

Jump to

Keyboard shortcuts

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