Documentation
¶
Index ¶
- type Nullable
- func (n Nullable[T]) Equal(other Nullable[T]) bool
- func (n Nullable[T]) ExactEqual(other Nullable[T]) bool
- func (n Nullable[T]) MarshalJSON() ([]byte, error)
- func (n Nullable[T]) MarshalText() ([]byte, error)
- func (n Nullable[T]) String() string
- func (n *Nullable[T]) UnmarshalJSON(data []byte) error
- func (n *Nullable[T]) UnmarshalText(text []byte) error
- func (n Nullable[T]) ValueOrZero() T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Nullable ¶
func ValueFromPtr ¶
func (Nullable[T]) ExactEqual ¶
func (Nullable[T]) MarshalJSON ¶
func (Nullable[T]) MarshalText ¶
func (*Nullable[T]) UnmarshalJSON ¶
func (*Nullable[T]) UnmarshalText ¶
func (Nullable[T]) ValueOrZero ¶
func (n Nullable[T]) ValueOrZero() T
Click to show internal directories.
Click to hide internal directories.