Documentation ¶
Index ¶
- type ByteSet
- func (s ByteSet) Add(values ...byte)
- func (s ByteSet) Clear()
- func (s ByteSet) Clone() ByteSet
- func (s ByteSet) Contains(value byte) bool
- func (s ByteSet) Empty() bool
- func (s ByteSet) MarshalJSON() ([]byte, error)
- func (s ByteSet) MarshalYAML() (interface{}, error)
- func (s ByteSet) UnmarshalJSON(data []byte) error
- func (s ByteSet) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (s ByteSet) Values() []byte
- type Complex128Set
- func (s Complex128Set) Add(values ...complex128)
- func (s Complex128Set) Clear()
- func (s Complex128Set) Clone() Complex128Set
- func (s Complex128Set) Contains(value complex128) bool
- func (s Complex128Set) Empty() bool
- func (s Complex128Set) MarshalJSON() ([]byte, error)
- func (s Complex128Set) MarshalYAML() (interface{}, error)
- func (s Complex128Set) UnmarshalJSON(data []byte) error
- func (s Complex128Set) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (s Complex128Set) Values() []complex128
- type Complex64Set
- func (s Complex64Set) Add(values ...complex64)
- func (s Complex64Set) Clear()
- func (s Complex64Set) Clone() Complex64Set
- func (s Complex64Set) Contains(value complex64) bool
- func (s Complex64Set) Empty() bool
- func (s Complex64Set) MarshalJSON() ([]byte, error)
- func (s Complex64Set) MarshalYAML() (interface{}, error)
- func (s Complex64Set) UnmarshalJSON(data []byte) error
- func (s Complex64Set) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (s Complex64Set) Values() []complex64
- type Float32Set
- func (s Float32Set) Add(values ...float32)
- func (s Float32Set) Clear()
- func (s Float32Set) Clone() Float32Set
- func (s Float32Set) Contains(value float32) bool
- func (s Float32Set) Empty() bool
- func (s Float32Set) MarshalJSON() ([]byte, error)
- func (s Float32Set) MarshalYAML() (interface{}, error)
- func (s Float32Set) UnmarshalJSON(data []byte) error
- func (s Float32Set) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (s Float32Set) Values() []float32
- type Float64Set
- func (s Float64Set) Add(values ...float64)
- func (s Float64Set) Clear()
- func (s Float64Set) Clone() Float64Set
- func (s Float64Set) Contains(value float64) bool
- func (s Float64Set) Empty() bool
- func (s Float64Set) MarshalJSON() ([]byte, error)
- func (s Float64Set) MarshalYAML() (interface{}, error)
- func (s Float64Set) UnmarshalJSON(data []byte) error
- func (s Float64Set) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (s Float64Set) Values() []float64
- type Int16Set
- func (s Int16Set) Add(values ...int16)
- func (s Int16Set) Clear()
- func (s Int16Set) Clone() Int16Set
- func (s Int16Set) Contains(value int16) bool
- func (s Int16Set) Empty() bool
- func (s Int16Set) MarshalJSON() ([]byte, error)
- func (s Int16Set) MarshalYAML() (interface{}, error)
- func (s Int16Set) UnmarshalJSON(data []byte) error
- func (s Int16Set) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (s Int16Set) Values() []int16
- type Int32Set
- func (s Int32Set) Add(values ...int32)
- func (s Int32Set) Clear()
- func (s Int32Set) Clone() Int32Set
- func (s Int32Set) Contains(value int32) bool
- func (s Int32Set) Empty() bool
- func (s Int32Set) MarshalJSON() ([]byte, error)
- func (s Int32Set) MarshalYAML() (interface{}, error)
- func (s Int32Set) UnmarshalJSON(data []byte) error
- func (s Int32Set) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (s Int32Set) Values() []int32
- type Int64Set
- func (s Int64Set) Add(values ...int64)
- func (s Int64Set) Clear()
- func (s Int64Set) Clone() Int64Set
- func (s Int64Set) Contains(value int64) bool
- func (s Int64Set) Empty() bool
- func (s Int64Set) MarshalJSON() ([]byte, error)
- func (s Int64Set) MarshalYAML() (interface{}, error)
- func (s Int64Set) UnmarshalJSON(data []byte) error
- func (s Int64Set) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (s Int64Set) Values() []int64
- type Int8Set
- func (s Int8Set) Add(values ...int8)
- func (s Int8Set) Clear()
- func (s Int8Set) Clone() Int8Set
- func (s Int8Set) Contains(value int8) bool
- func (s Int8Set) Empty() bool
- func (s Int8Set) MarshalJSON() ([]byte, error)
- func (s Int8Set) MarshalYAML() (interface{}, error)
- func (s Int8Set) UnmarshalJSON(data []byte) error
- func (s Int8Set) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (s Int8Set) Values() []int8
- type IntSet
- func (s IntSet) Add(values ...int)
- func (s IntSet) Clear()
- func (s IntSet) Clone() IntSet
- func (s IntSet) Contains(value int) bool
- func (s IntSet) Empty() bool
- func (s IntSet) MarshalJSON() ([]byte, error)
- func (s IntSet) MarshalYAML() (interface{}, error)
- func (s IntSet) UnmarshalJSON(data []byte) error
- func (s IntSet) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (s IntSet) Values() []int
- type RuneSet
- func (s RuneSet) Add(values ...rune)
- func (s RuneSet) Clear()
- func (s RuneSet) Clone() RuneSet
- func (s RuneSet) Contains(value rune) bool
- func (s RuneSet) Empty() bool
- func (s RuneSet) MarshalJSON() ([]byte, error)
- func (s RuneSet) MarshalYAML() (interface{}, error)
- func (s RuneSet) UnmarshalJSON(data []byte) error
- func (s RuneSet) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (s RuneSet) Values() []rune
- type StringSet
- func (s StringSet) Add(values ...string)
- func (s StringSet) Clear()
- func (s StringSet) Clone() StringSet
- func (s StringSet) Contains(value string) bool
- func (s StringSet) Empty() bool
- func (s StringSet) MarshalJSON() ([]byte, error)
- func (s StringSet) MarshalYAML() (interface{}, error)
- func (s StringSet) UnmarshalJSON(data []byte) error
- func (s StringSet) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (s StringSet) Values() []string
- type Uint16Set
- func (s Uint16Set) Add(values ...uint16)
- func (s Uint16Set) Clear()
- func (s Uint16Set) Clone() Uint16Set
- func (s Uint16Set) Contains(value uint16) bool
- func (s Uint16Set) Empty() bool
- func (s Uint16Set) MarshalJSON() ([]byte, error)
- func (s Uint16Set) MarshalYAML() (interface{}, error)
- func (s Uint16Set) UnmarshalJSON(data []byte) error
- func (s Uint16Set) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (s Uint16Set) Values() []uint16
- type Uint32Set
- func (s Uint32Set) Add(values ...uint32)
- func (s Uint32Set) Clear()
- func (s Uint32Set) Clone() Uint32Set
- func (s Uint32Set) Contains(value uint32) bool
- func (s Uint32Set) Empty() bool
- func (s Uint32Set) MarshalJSON() ([]byte, error)
- func (s Uint32Set) MarshalYAML() (interface{}, error)
- func (s Uint32Set) UnmarshalJSON(data []byte) error
- func (s Uint32Set) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (s Uint32Set) Values() []uint32
- type Uint64Set
- func (s Uint64Set) Add(values ...uint64)
- func (s Uint64Set) Clear()
- func (s Uint64Set) Clone() Uint64Set
- func (s Uint64Set) Contains(value uint64) bool
- func (s Uint64Set) Empty() bool
- func (s Uint64Set) MarshalJSON() ([]byte, error)
- func (s Uint64Set) MarshalYAML() (interface{}, error)
- func (s Uint64Set) UnmarshalJSON(data []byte) error
- func (s Uint64Set) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (s Uint64Set) Values() []uint64
- type Uint8Set
- func (s Uint8Set) Add(values ...uint8)
- func (s Uint8Set) Clear()
- func (s Uint8Set) Clone() Uint8Set
- func (s Uint8Set) Contains(value uint8) bool
- func (s Uint8Set) Empty() bool
- func (s Uint8Set) MarshalJSON() ([]byte, error)
- func (s Uint8Set) MarshalYAML() (interface{}, error)
- func (s Uint8Set) UnmarshalJSON(data []byte) error
- func (s Uint8Set) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (s Uint8Set) Values() []uint8
- type UintSet
- func (s UintSet) Add(values ...uint)
- func (s UintSet) Clear()
- func (s UintSet) Clone() UintSet
- func (s UintSet) Contains(value uint) bool
- func (s UintSet) Empty() bool
- func (s UintSet) MarshalJSON() ([]byte, error)
- func (s UintSet) MarshalYAML() (interface{}, error)
- func (s UintSet) UnmarshalJSON(data []byte) error
- func (s UintSet) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (s UintSet) Values() []uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByteSet ¶
ByteSet holds a set of byte values.
func NewByteSet ¶
NewByteSet creates a new set from its input values.
func (ByteSet) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (ByteSet) MarshalYAML ¶
MarshalYAML implements the yaml.Marshaler interface.
func (ByteSet) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
func (ByteSet) UnmarshalYAML ¶
UnmarshalYAML implements the yaml.Unmarshaler interface.
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) 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 ¶
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) 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 ¶
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) 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 ¶
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) 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 ¶
Int16Set holds a set of int16 values.
func NewInt16Set ¶
NewInt16Set creates a new set from its input values.
func (Int16Set) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (Int16Set) MarshalYAML ¶
MarshalYAML implements the yaml.Marshaler interface.
func (Int16Set) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
func (Int16Set) UnmarshalYAML ¶
UnmarshalYAML implements the yaml.Unmarshaler interface.
type Int32Set ¶
Int32Set holds a set of int32 values.
func NewInt32Set ¶
NewInt32Set creates a new set from its input values.
func (Int32Set) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (Int32Set) MarshalYAML ¶
MarshalYAML implements the yaml.Marshaler interface.
func (Int32Set) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
func (Int32Set) UnmarshalYAML ¶
UnmarshalYAML implements the yaml.Unmarshaler interface.
type Int64Set ¶
Int64Set holds a set of int64 values.
func NewInt64Set ¶
NewInt64Set creates a new set from its input values.
func (Int64Set) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (Int64Set) MarshalYAML ¶
MarshalYAML implements the yaml.Marshaler interface.
func (Int64Set) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
func (Int64Set) UnmarshalYAML ¶
UnmarshalYAML implements the yaml.Unmarshaler interface.
type Int8Set ¶
Int8Set holds a set of int8 values.
func NewInt8Set ¶
NewInt8Set creates a new set from its input values.
func (Int8Set) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (Int8Set) MarshalYAML ¶
MarshalYAML implements the yaml.Marshaler interface.
func (Int8Set) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
func (Int8Set) UnmarshalYAML ¶
UnmarshalYAML implements the yaml.Unmarshaler interface.
type IntSet ¶
IntSet holds a set of int values.
func (IntSet) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (IntSet) MarshalYAML ¶
MarshalYAML implements the yaml.Marshaler interface.
func (IntSet) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
func (IntSet) UnmarshalYAML ¶
UnmarshalYAML implements the yaml.Unmarshaler interface.
type RuneSet ¶
RuneSet holds a set of rune values.
func NewRuneSet ¶
NewRuneSet creates a new set from its input values.
func (RuneSet) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (RuneSet) MarshalYAML ¶
MarshalYAML implements the yaml.Marshaler interface.
func (RuneSet) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
func (RuneSet) UnmarshalYAML ¶
UnmarshalYAML implements the yaml.Unmarshaler interface.
type StringSet ¶
StringSet holds a set of string values.
func NewStringSet ¶
NewStringSet creates a new set from its input values.
func (StringSet) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (StringSet) MarshalYAML ¶
MarshalYAML implements the yaml.Marshaler interface.
func (StringSet) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
func (StringSet) UnmarshalYAML ¶
UnmarshalYAML implements the yaml.Unmarshaler interface.
type Uint16Set ¶
Uint16Set holds a set of uint16 values.
func NewUint16Set ¶
NewUint16Set creates a new set from its input values.
func (Uint16Set) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (Uint16Set) MarshalYAML ¶
MarshalYAML implements the yaml.Marshaler interface.
func (Uint16Set) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
func (Uint16Set) UnmarshalYAML ¶
UnmarshalYAML implements the yaml.Unmarshaler interface.
type Uint32Set ¶
Uint32Set holds a set of uint32 values.
func NewUint32Set ¶
NewUint32Set creates a new set from its input values.
func (Uint32Set) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (Uint32Set) MarshalYAML ¶
MarshalYAML implements the yaml.Marshaler interface.
func (Uint32Set) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
func (Uint32Set) UnmarshalYAML ¶
UnmarshalYAML implements the yaml.Unmarshaler interface.
type Uint64Set ¶
Uint64Set holds a set of uint64 values.
func NewUint64Set ¶
NewUint64Set creates a new set from its input values.
func (Uint64Set) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (Uint64Set) MarshalYAML ¶
MarshalYAML implements the yaml.Marshaler interface.
func (Uint64Set) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
func (Uint64Set) UnmarshalYAML ¶
UnmarshalYAML implements the yaml.Unmarshaler interface.
type Uint8Set ¶
Uint8Set holds a set of uint8 values.
func NewUint8Set ¶
NewUint8Set creates a new set from its input values.
func (Uint8Set) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (Uint8Set) MarshalYAML ¶
MarshalYAML implements the yaml.Marshaler interface.
func (Uint8Set) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
func (Uint8Set) UnmarshalYAML ¶
UnmarshalYAML implements the yaml.Unmarshaler interface.
type UintSet ¶
UintSet holds a set of uint values.
func NewUintSet ¶
NewUintSet creates a new set from its input values.
func (UintSet) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (UintSet) MarshalYAML ¶
MarshalYAML implements the yaml.Marshaler interface.
func (UintSet) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
func (UintSet) UnmarshalYAML ¶
UnmarshalYAML implements the yaml.Unmarshaler interface.