Versions in this module Expand all Collapse all v2 v2.0.2 Feb 27, 2025 Changes in this version + var ErrUnsupportedConversion = errors.New("unsupported type conversion") + type Nullable struct + Present bool + Val T + Valid bool + func NewNullable[T any](value T) Nullable[T] + func (n *Nullable[T]) Scan(value any) error + func (n *Nullable[T]) UnmarshalJSON(data []byte) error + func (n Nullable[T]) IsZero() bool + func (n Nullable[T]) MarshalJSON() ([]byte, error) + func (n Nullable[T]) OrElse(defaultVal T) T + func (n Nullable[T]) Value() (driver.Value, error) Other modules containing this package github.com/LukaGiorgadze/gonull