Versions in this module Expand all Collapse all v5 v5.0.0 Apr 21, 2023 Changes in this version + func FilterSlice(in []T, fn func(T) bool) []T + func LimitSlice(slice []T, limit int) ([]T, int) + func Pointer(v T) *T + func Value(p *T) T + type Set struct + func NewSet(values ...T) *Set[T] + func SetIntersect(sets ...*Set[T]) *Set[T] + func SetUnion(sets ...*Set[T]) *Set[T] + func (s *Set[T]) Add(value T) + func (s *Set[T]) AddSet(other *Set[T]) + func (s *Set[T]) Contains(value T) bool + func (s *Set[T]) Len() int + func (s *Set[T]) Remove(value T) + func (s *Set[T]) Subtract(other *Set[T]) + func (s *Set[T]) ToList() []T + func (s *Set[T]) UnmarshalJSON(data []byte) error + func (s Set[T]) MarshalJSON() ([]byte, error) Other modules containing this package github.com/rebuy-de/rebuy-go-sdk/v2 github.com/rebuy-de/rebuy-go-sdk/v3 github.com/rebuy-de/rebuy-go-sdk/v4 github.com/rebuy-de/rebuy-go-sdk/v6 github.com/rebuy-de/rebuy-go-sdk/v7 github.com/rebuy-de/rebuy-go-sdk/v8