set

package
v0.0.0-...-53bcd79 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: MIT Imports: 1 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 New

func New(values ...any) *Set

func (*Set) Add

func (s *Set) Add(v any)

func (*Set) Diff

func (s *Set) Diff(other *Set) *Set

func (*Set) Has

func (s *Set) Has(v any) bool

func (*Set) Join

func (s *Set) Join(right *Set) *Set

func (*Set) LeftOuter

func (s *Set) LeftOuter(right *Set) *Set

func (*Set) RightOuter

func (s *Set) RightOuter(right *Set) *Set

func (*Set) ToSlice

func (s *Set) ToSlice() []any

func (*Set) Union

func (s *Set) Union(v *Set)

Jump to

Keyboard shortcuts

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