Versions in this module Expand all Collapse all v0 v0.0.1 Jan 30, 2026 Changes in this version + type Set struct + var Empty Set[int] + func New[T Value](args ...T) Set[T] + func (set *Set[T]) IsEmpty() bool + func (set *Set[T]) IsZero() bool + func (set *Set[T]) Scan(src any) error + func (set *Set[T]) UnmarshalJSON(data []byte) error + func (set Set[T]) Add(other Set[T]) Set[T] + func (set Set[T]) Clear() + func (set Set[T]) Del(value T) + func (set Set[T]) Has(value T) bool + func (set Set[T]) Insert(value T) + func (set Set[T]) Len() int + func (set Set[T]) MarshalJSON() ([]byte, error) + func (set Set[T]) Slice() []T + func (set Set[T]) String() string + func (set Set[T]) Sub(other Set[T]) Set[T] + func (set Set[T]) Union(other Set[T]) Set[T] + func (set Set[T]) Value() (driver.Value, error) + type Value interface