Versions in this module Expand all Collapse all v7 v7.0.101 May 1, 2026 Changes in this version + func ToSliceOrdered[T cmp.Ordered](set Set[T]) []T + type IntSet Set[int] + func CopyIntSet(set IntSet) IntSet + func CreateIntSet(il ...int) IntSet + func NewIntSet() IntSet + func (s *IntSet) DecodeMsg(reader *msgp.Reader) error + func (s *IntSet) UnmarshalBinary(b []byte) error + func (s *IntSet) UnmarshalMsg(bytes []byte) ([]byte, error) + func (s IntSet) AppendBinary(b []byte) ([]byte, error) + func (s IntSet) EncodeMsg(writer *msgp.Writer) error + func (s IntSet) MarshalBinary() ([]byte, error) + func (s IntSet) MarshalMsg(bytes []byte) ([]byte, error) + func (s IntSet) Msgsize() int + func (set *IntSet) UnmarshalJSON(data []byte) error + func (set IntSet) Add(i int) + func (set IntSet) ApplyFunc(applyFn func(int) int) IntSet + func (set IntSet) Contains(i int) bool + func (set IntSet) Difference(iset IntSet) IntSet + func (set IntSet) Equals(iset IntSet) bool + func (set IntSet) FuncMatch(matchFn func(int, int) bool, matchInt int) IntSet + func (set IntSet) Intersection(iset IntSet) IntSet + func (set IntSet) IsEmpty() bool + func (set IntSet) MarshalJSON() ([]byte, error) + func (set IntSet) Remove(i int) + func (set IntSet) String() string + func (set IntSet) ToSlice() []int + func (set IntSet) Union(iset IntSet) IntSet + type Set map[T]struct + func Copy[T comparable](set Set[T]) Set[T] + func Create[T comparable](sl ...T) Set[T] + func New[T comparable]() Set[T] + func (set Set[T]) Add(s T) + func (set Set[T]) ApplyFunc(applyFn func(T) T) Set[T] + func (set Set[T]) Contains(s T) bool + func (set Set[T]) Difference(sset Set[T]) Set[T] + func (set Set[T]) Equals(sset Set[T]) bool + func (set Set[T]) FuncMatch(matchFn func(T, T) bool, matchValue T) Set[T] + func (set Set[T]) Intersection(sset Set[T]) Set[T] + func (set Set[T]) IsEmpty() bool + func (set Set[T]) Remove(s T) + func (set Set[T]) ToSlice(cmpFn func(a, b T) int) []T + func (set Set[T]) Union(sset Set[T]) Set[T] + type StringSet Set[string] + func CopyStringSet(set StringSet) StringSet + func CreateStringSet(sl ...string) StringSet + func NewStringSet() StringSet + func (s *StringSet) DecodeMsg(reader *msgp.Reader) error + func (s *StringSet) UnmarshalBinary(b []byte) error + func (s *StringSet) UnmarshalMsg(bytes []byte) ([]byte, error) + func (s StringSet) AppendBinary(b []byte) ([]byte, error) + func (s StringSet) EncodeMsg(writer *msgp.Writer) error + func (s StringSet) MarshalBinary() ([]byte, error) + func (s StringSet) MarshalMsg(bytes []byte) ([]byte, error) + func (s StringSet) Msgsize() int + func (set *StringSet) UnmarshalJSON(data []byte) error + func (set StringSet) Add(s string) + func (set StringSet) ApplyFunc(applyFn func(string) string) StringSet + func (set StringSet) Contains(s string) bool + func (set StringSet) Difference(sset StringSet) StringSet + func (set StringSet) Equals(sset StringSet) bool + func (set StringSet) FuncMatch(matchFn func(string, string) bool, matchString string) StringSet + func (set StringSet) Intersection(sset StringSet) StringSet + func (set StringSet) IsEmpty() bool + func (set StringSet) MarshalJSON() ([]byte, error) + func (set StringSet) Remove(s string) + func (set StringSet) String() string + func (set StringSet) ToByteSlices() [][]byte + func (set StringSet) ToSlice() []string + func (set StringSet) Union(sset StringSet) StringSet Other modules containing this package github.com/libreFS/librefs-go