Versions in this module Expand all Collapse all v0 v0.3.7 May 13, 2026 Changes in this version + type JSON struct + Data T + func (j *JSON[T]) Get() T + func (j *JSON[T]) Scan(value interface{}) error + func (j *JSON[T]) Set(data T) + func (j JSON[T]) Value() (driver.Value, error) + type MapAny map[string]any + func (m *MapAny) Scan(value interface{}) error + func (m MapAny) Clone() MapAny + func (m MapAny) Delete(key string) MapAny + func (m MapAny) Get(key string, defaultValue ...any) any + func (m MapAny) GetBool(key string, defaultValue ...bool) bool + func (m MapAny) GetInt(key string, defaultValue ...int) int + func (m MapAny) GetString(key string, defaultValue ...string) string + func (m MapAny) Has(key string) bool + func (m MapAny) Keys() []string + func (m MapAny) Merge(other MapAny) MapAny + func (m MapAny) Set(key string, value any) MapAny + func (m MapAny) Value() (driver.Value, error) + func (m MapAny) Values() []any + type ProtoJSON struct + Data T + func (p *ProtoJSON[T]) Get() T + func (p *ProtoJSON[T]) Scan(value interface{}) error + func (p *ProtoJSON[T]) Set(data T) + func (p *ProtoJSON[T]) Value() (driver.Value, error) + type ProtoJSONMap struct + Fields map[string]ProtoJSON[T] + func NewProtoJSONMap[T proto.Message]() *ProtoJSONMap[T] + func (p *ProtoJSONMap[T]) Get(key string) T + func (p *ProtoJSONMap[T]) Keys() []string + func (p *ProtoJSONMap[T]) Scan(value interface{}) error + func (p *ProtoJSONMap[T]) Set(key string, data T) + func (p ProtoJSONMap[T]) Value() (driver.Value, error) + type Slice []T + func Map[T any, R any](s Slice[T], fn func(T) R) Slice[R] + func (s *Slice[T]) Append(items ...T) Slice[T] + func (s *Slice[T]) Scan(value interface{}) error + func (s Slice[T]) Clone() Slice[T] + func (s Slice[T]) Filter(fn func(T) bool) Slice[T] + func (s Slice[T]) Len() int + func (s Slice[T]) Value() (driver.Value, error) + type StringSlice []string + func ParseStringSlice(input []string) StringSlice + func (s *StringSlice) Append(items ...string) StringSlice + func (s *StringSlice) FromDelimitedString(input string, delimiters ...string) StringSlice + func (s *StringSlice) Remove(item string) StringSlice + func (s *StringSlice) RemoveAt(index int) StringSlice + func (s *StringSlice) Scan(value interface{}) error + func (s StringSlice) Clone() StringSlice + func (s StringSlice) Contains(item string) bool + func (s StringSlice) Filter(fn func(string) bool) StringSlice + func (s StringSlice) IndexOf(item string) int + func (s StringSlice) Join(sep string) string + func (s StringSlice) Map(fn func(string) string) StringSlice + func (s StringSlice) Unique() StringSlice + func (s StringSlice) Value() (driver.Value, error)