Documentation ¶ Index ¶ type Nullable func New[V any]() *Nullable[V] func (v *Nullable[V]) Clear() func (v *Nullable[V]) MarshalJSON() (data []byte, err error) func (v *Nullable[V]) Null() bool func (v *Nullable[V]) Set(value V) func (v *Nullable[V]) UnmarshalJSON(data []byte) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Nullable ¶ type Nullable[V any] struct { Value V // contains filtered or unexported fields } func New ¶ func New[V any]() *Nullable[V] func (*Nullable[V]) Clear ¶ func (v *Nullable[V]) Clear() func (*Nullable[V]) MarshalJSON ¶ func (v *Nullable[V]) MarshalJSON() (data []byte, err error) func (*Nullable[V]) Null ¶ func (v *Nullable[V]) Null() bool func (*Nullable[V]) Set ¶ func (v *Nullable[V]) Set(value V) func (*Nullable[V]) UnmarshalJSON ¶ func (v *Nullable[V]) UnmarshalJSON(data []byte) error Source Files ¶ View all Source files nullable.go Click to show internal directories. Click to hide internal directories.