collection

package
v1.52.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MPL-2.0 Imports: 2 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByteSet

type ByteSet map[byte]bool

ByteSet holds a set of byte values.

func NewByteSet

func NewByteSet(values ...byte) ByteSet

NewByteSet creates a new set from its input values.

func (ByteSet) Add

func (s ByteSet) Add(values ...byte)

Add values to the set.

func (ByteSet) Clear

func (s ByteSet) Clear()

Clear the set.

func (ByteSet) Clone

func (s ByteSet) Clone() ByteSet

Clone returns a copy of the set.

func (ByteSet) Contains

func (s ByteSet) Contains(value byte) bool

Contains returns true if the value exists within the set.

func (ByteSet) Empty

func (s ByteSet) Empty() bool

Empty returns true if there are no values in the set.

func (ByteSet) MarshalJSON

func (s ByteSet) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (ByteSet) MarshalYAML

func (s ByteSet) MarshalYAML() (interface{}, error)

MarshalYAML implements the yaml.Marshaler interface.

func (ByteSet) UnmarshalJSON

func (s ByteSet) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (ByteSet) UnmarshalYAML

func (s ByteSet) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the yaml.Unmarshaler interface.

func (ByteSet) Values

func (s ByteSet) Values() []byte

Values returns all values in the set.

type Complex128Set

type Complex128Set map[complex128]bool

Complex128Set holds a set of complex128 values.

func NewComplex128Set

func NewComplex128Set(values ...complex128) Complex128Set

NewComplex128Set creates a new set from its input values.

func (Complex128Set) Add

func (s Complex128Set) Add(values ...complex128)

Add values to the set.

func (Complex128Set) Clear

func (s Complex128Set) Clear()

Clear the set.

func (Complex128Set) Clone

func (s Complex128Set) Clone() Complex128Set

Clone returns a copy of the set.

func (Complex128Set) Contains

func (s Complex128Set) Contains(value complex128) bool

Contains returns true if the value exists within the set.

func (Complex128Set) Empty

func (s Complex128Set) Empty() bool

Empty returns true if there are no values in the set.

func (Complex128Set) MarshalJSON

func (s Complex128Set) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (Complex128Set) MarshalYAML

func (s Complex128Set) MarshalYAML() (interface{}, error)

MarshalYAML implements the yaml.Marshaler interface.

func (Complex128Set) UnmarshalJSON

func (s Complex128Set) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (Complex128Set) UnmarshalYAML

func (s Complex128Set) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the yaml.Unmarshaler interface.

func (Complex128Set) Values

func (s Complex128Set) Values() []complex128

Values returns all values in the set.

type Complex64Set

type Complex64Set map[complex64]bool

Complex64Set holds a set of complex64 values.

func NewComplex64Set

func NewComplex64Set(values ...complex64) Complex64Set

NewComplex64Set creates a new set from its input values.

func (Complex64Set) Add

func (s Complex64Set) Add(values ...complex64)

Add values to the set.

func (Complex64Set) Clear

func (s Complex64Set) Clear()

Clear the set.

func (Complex64Set) Clone

func (s Complex64Set) Clone() Complex64Set

Clone returns a copy of the set.

func (Complex64Set) Contains

func (s Complex64Set) Contains(value complex64) bool

Contains returns true if the value exists within the set.

func (Complex64Set) Empty

func (s Complex64Set) Empty() bool

Empty returns true if there are no values in the set.

func (Complex64Set) MarshalJSON

func (s Complex64Set) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (Complex64Set) MarshalYAML

func (s Complex64Set) MarshalYAML() (interface{}, error)

MarshalYAML implements the yaml.Marshaler interface.

func (Complex64Set) UnmarshalJSON

func (s Complex64Set) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (Complex64Set) UnmarshalYAML

func (s Complex64Set) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the yaml.Unmarshaler interface.

func (Complex64Set) Values

func (s Complex64Set) Values() []complex64

Values returns all values in the set.

type Float32Set

type Float32Set map[float32]bool

Float32Set holds a set of float32 values.

func NewFloat32Set

func NewFloat32Set(values ...float32) Float32Set

NewFloat32Set creates a new set from its input values.

func (Float32Set) Add

func (s Float32Set) Add(values ...float32)

Add values to the set.

func (Float32Set) Clear

func (s Float32Set) Clear()

Clear the set.

func (Float32Set) Clone

func (s Float32Set) Clone() Float32Set

Clone returns a copy of the set.

func (Float32Set) Contains

func (s Float32Set) Contains(value float32) bool

Contains returns true if the value exists within the set.

func (Float32Set) Empty

func (s Float32Set) Empty() bool

Empty returns true if there are no values in the set.

func (Float32Set) MarshalJSON

func (s Float32Set) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (Float32Set) MarshalYAML

func (s Float32Set) MarshalYAML() (interface{}, error)

MarshalYAML implements the yaml.Marshaler interface.

func (Float32Set) UnmarshalJSON

func (s Float32Set) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (Float32Set) UnmarshalYAML

func (s Float32Set) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the yaml.Unmarshaler interface.

func (Float32Set) Values

func (s Float32Set) Values() []float32

Values returns all values in the set.

type Float64Set

type Float64Set map[float64]bool

Float64Set holds a set of float64 values.

func NewFloat64Set

func NewFloat64Set(values ...float64) Float64Set

NewFloat64Set creates a new set from its input values.

func (Float64Set) Add

func (s Float64Set) Add(values ...float64)

Add values to the set.

func (Float64Set) Clear

func (s Float64Set) Clear()

Clear the set.

func (Float64Set) Clone

func (s Float64Set) Clone() Float64Set

Clone returns a copy of the set.

func (Float64Set) Contains

func (s Float64Set) Contains(value float64) bool

Contains returns true if the value exists within the set.

func (Float64Set) Empty

func (s Float64Set) Empty() bool

Empty returns true if there are no values in the set.

func (Float64Set) MarshalJSON

func (s Float64Set) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (Float64Set) MarshalYAML

func (s Float64Set) MarshalYAML() (interface{}, error)

MarshalYAML implements the yaml.Marshaler interface.

func (Float64Set) UnmarshalJSON

func (s Float64Set) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (Float64Set) UnmarshalYAML

func (s Float64Set) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the yaml.Unmarshaler interface.

func (Float64Set) Values

func (s Float64Set) Values() []float64

Values returns all values in the set.

type Int16Set

type Int16Set map[int16]bool

Int16Set holds a set of int16 values.

func NewInt16Set

func NewInt16Set(values ...int16) Int16Set

NewInt16Set creates a new set from its input values.

func (Int16Set) Add

func (s Int16Set) Add(values ...int16)

Add values to the set.

func (Int16Set) Clear

func (s Int16Set) Clear()

Clear the set.

func (Int16Set) Clone

func (s Int16Set) Clone() Int16Set

Clone returns a copy of the set.

func (Int16Set) Contains

func (s Int16Set) Contains(value int16) bool

Contains returns true if the value exists within the set.

func (Int16Set) Empty

func (s Int16Set) Empty() bool

Empty returns true if there are no values in the set.

func (Int16Set) MarshalJSON

func (s Int16Set) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (Int16Set) MarshalYAML

func (s Int16Set) MarshalYAML() (interface{}, error)

MarshalYAML implements the yaml.Marshaler interface.

func (Int16Set) UnmarshalJSON

func (s Int16Set) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (Int16Set) UnmarshalYAML

func (s Int16Set) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the yaml.Unmarshaler interface.

func (Int16Set) Values

func (s Int16Set) Values() []int16

Values returns all values in the set.

type Int32Set

type Int32Set map[int32]bool

Int32Set holds a set of int32 values.

func NewInt32Set

func NewInt32Set(values ...int32) Int32Set

NewInt32Set creates a new set from its input values.

func (Int32Set) Add

func (s Int32Set) Add(values ...int32)

Add values to the set.

func (Int32Set) Clear

func (s Int32Set) Clear()

Clear the set.

func (Int32Set) Clone

func (s Int32Set) Clone() Int32Set

Clone returns a copy of the set.

func (Int32Set) Contains

func (s Int32Set) Contains(value int32) bool

Contains returns true if the value exists within the set.

func (Int32Set) Empty

func (s Int32Set) Empty() bool

Empty returns true if there are no values in the set.

func (Int32Set) MarshalJSON

func (s Int32Set) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (Int32Set) MarshalYAML

func (s Int32Set) MarshalYAML() (interface{}, error)

MarshalYAML implements the yaml.Marshaler interface.

func (Int32Set) UnmarshalJSON

func (s Int32Set) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (Int32Set) UnmarshalYAML

func (s Int32Set) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the yaml.Unmarshaler interface.

func (Int32Set) Values

func (s Int32Set) Values() []int32

Values returns all values in the set.

type Int64Set

type Int64Set map[int64]bool

Int64Set holds a set of int64 values.

func NewInt64Set

func NewInt64Set(values ...int64) Int64Set

NewInt64Set creates a new set from its input values.

func (Int64Set) Add

func (s Int64Set) Add(values ...int64)

Add values to the set.

func (Int64Set) Clear

func (s Int64Set) Clear()

Clear the set.

func (Int64Set) Clone

func (s Int64Set) Clone() Int64Set

Clone returns a copy of the set.

func (Int64Set) Contains

func (s Int64Set) Contains(value int64) bool

Contains returns true if the value exists within the set.

func (Int64Set) Empty

func (s Int64Set) Empty() bool

Empty returns true if there are no values in the set.

func (Int64Set) MarshalJSON

func (s Int64Set) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (Int64Set) MarshalYAML

func (s Int64Set) MarshalYAML() (interface{}, error)

MarshalYAML implements the yaml.Marshaler interface.

func (Int64Set) UnmarshalJSON

func (s Int64Set) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (Int64Set) UnmarshalYAML

func (s Int64Set) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the yaml.Unmarshaler interface.

func (Int64Set) Values

func (s Int64Set) Values() []int64

Values returns all values in the set.

type Int8Set

type Int8Set map[int8]bool

Int8Set holds a set of int8 values.

func NewInt8Set

func NewInt8Set(values ...int8) Int8Set

NewInt8Set creates a new set from its input values.

func (Int8Set) Add

func (s Int8Set) Add(values ...int8)

Add values to the set.

func (Int8Set) Clear

func (s Int8Set) Clear()

Clear the set.

func (Int8Set) Clone

func (s Int8Set) Clone() Int8Set

Clone returns a copy of the set.

func (Int8Set) Contains

func (s Int8Set) Contains(value int8) bool

Contains returns true if the value exists within the set.

func (Int8Set) Empty

func (s Int8Set) Empty() bool

Empty returns true if there are no values in the set.

func (Int8Set) MarshalJSON

func (s Int8Set) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (Int8Set) MarshalYAML

func (s Int8Set) MarshalYAML() (interface{}, error)

MarshalYAML implements the yaml.Marshaler interface.

func (Int8Set) UnmarshalJSON

func (s Int8Set) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (Int8Set) UnmarshalYAML

func (s Int8Set) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the yaml.Unmarshaler interface.

func (Int8Set) Values

func (s Int8Set) Values() []int8

Values returns all values in the set.

type IntSet

type IntSet map[int]bool

IntSet holds a set of int values.

func NewIntSet

func NewIntSet(values ...int) IntSet

NewIntSet creates a new set from its input values.

func (IntSet) Add

func (s IntSet) Add(values ...int)

Add values to the set.

func (IntSet) Clear

func (s IntSet) Clear()

Clear the set.

func (IntSet) Clone

func (s IntSet) Clone() IntSet

Clone returns a copy of the set.

func (IntSet) Contains

func (s IntSet) Contains(value int) bool

Contains returns true if the value exists within the set.

func (IntSet) Empty

func (s IntSet) Empty() bool

Empty returns true if there are no values in the set.

func (IntSet) MarshalJSON

func (s IntSet) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (IntSet) MarshalYAML

func (s IntSet) MarshalYAML() (interface{}, error)

MarshalYAML implements the yaml.Marshaler interface.

func (IntSet) UnmarshalJSON

func (s IntSet) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (IntSet) UnmarshalYAML

func (s IntSet) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the yaml.Unmarshaler interface.

func (IntSet) Values

func (s IntSet) Values() []int

Values returns all values in the set.

type RuneSet

type RuneSet map[rune]bool

RuneSet holds a set of rune values.

func NewRuneSet

func NewRuneSet(values ...rune) RuneSet

NewRuneSet creates a new set from its input values.

func (RuneSet) Add

func (s RuneSet) Add(values ...rune)

Add values to the set.

func (RuneSet) Clear

func (s RuneSet) Clear()

Clear the set.

func (RuneSet) Clone

func (s RuneSet) Clone() RuneSet

Clone returns a copy of the set.

func (RuneSet) Contains

func (s RuneSet) Contains(value rune) bool

Contains returns true if the value exists within the set.

func (RuneSet) Empty

func (s RuneSet) Empty() bool

Empty returns true if there are no values in the set.

func (RuneSet) MarshalJSON

func (s RuneSet) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (RuneSet) MarshalYAML

func (s RuneSet) MarshalYAML() (interface{}, error)

MarshalYAML implements the yaml.Marshaler interface.

func (RuneSet) UnmarshalJSON

func (s RuneSet) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (RuneSet) UnmarshalYAML

func (s RuneSet) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the yaml.Unmarshaler interface.

func (RuneSet) Values

func (s RuneSet) Values() []rune

Values returns all values in the set.

type StringSet

type StringSet map[string]bool

StringSet holds a set of string values.

func NewStringSet

func NewStringSet(values ...string) StringSet

NewStringSet creates a new set from its input values.

func (StringSet) Add

func (s StringSet) Add(values ...string)

Add values to the set.

func (StringSet) Clear

func (s StringSet) Clear()

Clear the set.

func (StringSet) Clone

func (s StringSet) Clone() StringSet

Clone returns a copy of the set.

func (StringSet) Contains

func (s StringSet) Contains(value string) bool

Contains returns true if the value exists within the set.

func (StringSet) Empty

func (s StringSet) Empty() bool

Empty returns true if there are no values in the set.

func (StringSet) MarshalJSON

func (s StringSet) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (StringSet) MarshalYAML

func (s StringSet) MarshalYAML() (interface{}, error)

MarshalYAML implements the yaml.Marshaler interface.

func (StringSet) UnmarshalJSON

func (s StringSet) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (StringSet) UnmarshalYAML

func (s StringSet) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the yaml.Unmarshaler interface.

func (StringSet) Values

func (s StringSet) Values() []string

Values returns all values in the set.

type Uint16Set

type Uint16Set map[uint16]bool

Uint16Set holds a set of uint16 values.

func NewUint16Set

func NewUint16Set(values ...uint16) Uint16Set

NewUint16Set creates a new set from its input values.

func (Uint16Set) Add

func (s Uint16Set) Add(values ...uint16)

Add values to the set.

func (Uint16Set) Clear

func (s Uint16Set) Clear()

Clear the set.

func (Uint16Set) Clone

func (s Uint16Set) Clone() Uint16Set

Clone returns a copy of the set.

func (Uint16Set) Contains

func (s Uint16Set) Contains(value uint16) bool

Contains returns true if the value exists within the set.

func (Uint16Set) Empty

func (s Uint16Set) Empty() bool

Empty returns true if there are no values in the set.

func (Uint16Set) MarshalJSON

func (s Uint16Set) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (Uint16Set) MarshalYAML

func (s Uint16Set) MarshalYAML() (interface{}, error)

MarshalYAML implements the yaml.Marshaler interface.

func (Uint16Set) UnmarshalJSON

func (s Uint16Set) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (Uint16Set) UnmarshalYAML

func (s Uint16Set) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the yaml.Unmarshaler interface.

func (Uint16Set) Values

func (s Uint16Set) Values() []uint16

Values returns all values in the set.

type Uint32Set

type Uint32Set map[uint32]bool

Uint32Set holds a set of uint32 values.

func NewUint32Set

func NewUint32Set(values ...uint32) Uint32Set

NewUint32Set creates a new set from its input values.

func (Uint32Set) Add

func (s Uint32Set) Add(values ...uint32)

Add values to the set.

func (Uint32Set) Clear

func (s Uint32Set) Clear()

Clear the set.

func (Uint32Set) Clone

func (s Uint32Set) Clone() Uint32Set

Clone returns a copy of the set.

func (Uint32Set) Contains

func (s Uint32Set) Contains(value uint32) bool

Contains returns true if the value exists within the set.

func (Uint32Set) Empty

func (s Uint32Set) Empty() bool

Empty returns true if there are no values in the set.

func (Uint32Set) MarshalJSON

func (s Uint32Set) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (Uint32Set) MarshalYAML

func (s Uint32Set) MarshalYAML() (interface{}, error)

MarshalYAML implements the yaml.Marshaler interface.

func (Uint32Set) UnmarshalJSON

func (s Uint32Set) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (Uint32Set) UnmarshalYAML

func (s Uint32Set) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the yaml.Unmarshaler interface.

func (Uint32Set) Values

func (s Uint32Set) Values() []uint32

Values returns all values in the set.

type Uint64Set

type Uint64Set map[uint64]bool

Uint64Set holds a set of uint64 values.

func NewUint64Set

func NewUint64Set(values ...uint64) Uint64Set

NewUint64Set creates a new set from its input values.

func (Uint64Set) Add

func (s Uint64Set) Add(values ...uint64)

Add values to the set.

func (Uint64Set) Clear

func (s Uint64Set) Clear()

Clear the set.

func (Uint64Set) Clone

func (s Uint64Set) Clone() Uint64Set

Clone returns a copy of the set.

func (Uint64Set) Contains

func (s Uint64Set) Contains(value uint64) bool

Contains returns true if the value exists within the set.

func (Uint64Set) Empty

func (s Uint64Set) Empty() bool

Empty returns true if there are no values in the set.

func (Uint64Set) MarshalJSON

func (s Uint64Set) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (Uint64Set) MarshalYAML

func (s Uint64Set) MarshalYAML() (interface{}, error)

MarshalYAML implements the yaml.Marshaler interface.

func (Uint64Set) UnmarshalJSON

func (s Uint64Set) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (Uint64Set) UnmarshalYAML

func (s Uint64Set) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the yaml.Unmarshaler interface.

func (Uint64Set) Values

func (s Uint64Set) Values() []uint64

Values returns all values in the set.

type Uint8Set

type Uint8Set map[uint8]bool

Uint8Set holds a set of uint8 values.

func NewUint8Set

func NewUint8Set(values ...uint8) Uint8Set

NewUint8Set creates a new set from its input values.

func (Uint8Set) Add

func (s Uint8Set) Add(values ...uint8)

Add values to the set.

func (Uint8Set) Clear

func (s Uint8Set) Clear()

Clear the set.

func (Uint8Set) Clone

func (s Uint8Set) Clone() Uint8Set

Clone returns a copy of the set.

func (Uint8Set) Contains

func (s Uint8Set) Contains(value uint8) bool

Contains returns true if the value exists within the set.

func (Uint8Set) Empty

func (s Uint8Set) Empty() bool

Empty returns true if there are no values in the set.

func (Uint8Set) MarshalJSON

func (s Uint8Set) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (Uint8Set) MarshalYAML

func (s Uint8Set) MarshalYAML() (interface{}, error)

MarshalYAML implements the yaml.Marshaler interface.

func (Uint8Set) UnmarshalJSON

func (s Uint8Set) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (Uint8Set) UnmarshalYAML

func (s Uint8Set) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the yaml.Unmarshaler interface.

func (Uint8Set) Values

func (s Uint8Set) Values() []uint8

Values returns all values in the set.

type UintSet

type UintSet map[uint]bool

UintSet holds a set of uint values.

func NewUintSet

func NewUintSet(values ...uint) UintSet

NewUintSet creates a new set from its input values.

func (UintSet) Add

func (s UintSet) Add(values ...uint)

Add values to the set.

func (UintSet) Clear

func (s UintSet) Clear()

Clear the set.

func (UintSet) Clone

func (s UintSet) Clone() UintSet

Clone returns a copy of the set.

func (UintSet) Contains

func (s UintSet) Contains(value uint) bool

Contains returns true if the value exists within the set.

func (UintSet) Empty

func (s UintSet) Empty() bool

Empty returns true if there are no values in the set.

func (UintSet) MarshalJSON

func (s UintSet) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (UintSet) MarshalYAML

func (s UintSet) MarshalYAML() (interface{}, error)

MarshalYAML implements the yaml.Marshaler interface.

func (UintSet) UnmarshalJSON

func (s UintSet) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (UintSet) UnmarshalYAML

func (s UintSet) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the yaml.Unmarshaler interface.

func (UintSet) Values

func (s UintSet) Values() []uint

Values returns all values in the set.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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