Documentation ¶
Overview ¶
Package set is a type-safe, zero-allocation port of the excellent package fatih/set. It contains sets for most of the basic types and you can generate set for your own types with ease.
Index ¶
- func NewByte16Set(ts ...[16]byte) *b16set.Set
- func NewByte16SetWithSize(size int) *b16set.Set
- func NewByte32Set(ts ...[32]byte) *b32set.Set
- func NewByte32SetWithSize(size int) *b32set.Set
- func NewByte64Set(ts ...[64]byte) *b64set.Set
- func NewByte64SetWithSize(size int) *b64set.Set
- func NewByte8Set(ts ...[8]byte) *b8set.Set
- func NewByte8SetWithSize(size int) *b8set.Set
- func NewFloat32Set(ts ...float32) *f32set.Set
- func NewFloat32SetWithSize(size int) *f32set.Set
- func NewFloat64Set(ts ...float64) *f64set.Set
- func NewFloat64SetWithSize(size int) *f64set.Set
- func NewInt16Set(ts ...int16) *i16set.Set
- func NewInt16SetWithSize(size int) *i16set.Set
- func NewInt32Set(ts ...int32) *i32set.Set
- func NewInt32SetWithSize(size int) *i32set.Set
- func NewInt64Set(ts ...int64) *i64set.Set
- func NewInt64SetWithSize(size int) *i64set.Set
- func NewInt8Set(ts ...int8) *i8set.Set
- func NewInt8SetWithSize(size int) *i8set.Set
- func NewIntSet(ts ...int) *iset.Set
- func NewIntSetWithSize(size int) *iset.Set
- func NewStringSet(ts ...string) *strset.Set
- func NewStringSetWithSize(size int) *strset.Set
- func NewUint16Set(ts ...uint16) *u16set.Set
- func NewUint16SetWithSize(size int) *u16set.Set
- func NewUint32Set(ts ...uint32) *u32set.Set
- func NewUint32SetWithSize(size int) *u32set.Set
- func NewUint64Set(ts ...uint64) *u64set.Set
- func NewUint64SetWithSize(size int) *u64set.Set
- func NewUint8Set(ts ...uint8) *u8set.Set
- func NewUint8SetWithSize(size int) *u8set.Set
- func NewUintSet(ts ...uint) *uset.Set
- func NewUintSetWithSize(size int) *uset.Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewByte16Set ¶
NewByte16Set is a convenience function to create a new b16set.Set
func NewByte16SetWithSize ¶
NewByte16SetWithSize is a convenience function to create a new b16set.Set.
func NewByte32Set ¶
NewByte32Set is a convenience function to create a new b32set.Set
func NewByte32SetWithSize ¶
NewByte32SetWithSize is a convenience function to create a new b32set.Set.
func NewByte64Set ¶
NewByte64Set is a convenience function to create a new b64set.Set
func NewByte64SetWithSize ¶
NewByte64SetWithSize is a convenience function to create a new b64set.Set.
func NewByte8Set ¶
NewByte8Set is a convenience function to create a new b8set.Set
func NewByte8SetWithSize ¶
NewByte8SetWithSize is a convenience function to create a new b8set.Set.
func NewFloat32Set ¶
NewFloat32Set is a convenience function to create a new f32set.Set
func NewFloat32SetWithSize ¶
NewFloat32SetWithSize is a convenience function to create a new f32set.Set.
func NewFloat64Set ¶
NewFloat64Set is a convenience function to create a new f64set.Set
func NewFloat64SetWithSize ¶
NewFloat64SetWithSize is a convenience function to create a new f64set.Set.
func NewInt16Set ¶
NewInt16Set is a convenience function to create a new i16set.Set
func NewInt16SetWithSize ¶
NewInt16SetWithSize is a convenience function to create a new i16set.Set.
func NewInt32Set ¶
NewInt32Set is a convenience function to create a new i32set.Set
func NewInt32SetWithSize ¶
NewInt32SetWithSize is a convenience function to create a new i32set.Set.
func NewInt64Set ¶
NewInt64Set is a convenience function to create a new i64set.Set
func NewInt64SetWithSize ¶
NewInt64SetWithSize is a convenience function to create a new i64set.Set.
func NewInt8Set ¶
NewInt8Set is a convenience function to create a new i8set.Set
func NewInt8SetWithSize ¶
NewInt8SetWithSize is a convenience function to create a new i8set.Set.
func NewIntSetWithSize ¶
NewIntSetWithSize is a convenience function to create a new iset.Set.
func NewStringSet ¶
NewStringSet is a convenience function to create a new strset.Set
func NewStringSetWithSize ¶
NewStringSetWithSize is a convenience function to create a new strset.Set.
func NewUint16Set ¶
NewUint16Set is a convenience function to create a new u16set.Set
func NewUint16SetWithSize ¶
NewUint16SetWithSize is a convenience function to create a new u16set.Set.
func NewUint32Set ¶
NewUint32Set is a convenience function to create a new u32set.Set
func NewUint32SetWithSize ¶
NewUint32SetWithSize is a convenience function to create a new u32set.Set.
func NewUint64Set ¶
NewUint64Set is a convenience function to create a new u64set.Set
func NewUint64SetWithSize ¶
NewUint64SetWithSize is a convenience function to create a new u64set.Set.
func NewUint8Set ¶
NewUint8Set is a convenience function to create a new u8set.Set
func NewUint8SetWithSize ¶
NewUint8SetWithSize is a convenience function to create a new u8set.Set.
func NewUintSet ¶
NewUintSet is a convenience function to create a new uset.Set
func NewUintSetWithSize ¶
NewUintSetWithSize is a convenience function to create a new uset.Set.
Types ¶
This section is empty.