Versions in this module Expand all Collapse all v1 v1.8.1 Oct 21, 2023 Changes in this version + type Binary struct + Data T + func (b *Binary[T]) Scan(src any) (err error) + func (b *Binary[T]) Value() (driver.Value, error) + type NullBinary struct + Data T + Valid bool + func (b *NullBinary[T]) Scan(src any) (err error) + func (b *NullBinary[T]) Value() (driver.Value, error) + type Serializable interface + MarshalBinary func() ([]byte, error) + UnmarshalBinary func(data []byte) (T, error) v1.8.0 Aug 28, 2023 v1.7.0 Aug 23, 2023 v1.6.0 Aug 19, 2023 Changes in this version + type BitBool bool + func (b *BitBool) Scan(src any) error + func (b BitBool) Value() (driver.Value, error) + type GzippedText []byte + func (g *GzippedText) Scan(src any) error + func (g GzippedText) Value() (driver.Value, error) + type JSONText json.RawMessage + func (j *JSONText) Scan(src any) error + func (j *JSONText) Unmarshal(v any) error + func (j *JSONText) UnmarshalJSON(data []byte) error + func (j JSONText) MarshalJSON() ([]byte, error) + func (j JSONText) String() string + func (j JSONText) Value() (driver.Value, error) + type NullJSONText struct + Valid bool + func (n *NullJSONText) Scan(value any) error + func (n NullJSONText) Value() (driver.Value, error)