Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Nullable ¶
type Nullable[T any] struct { // contains filtered or unexported fields }
func NewNullable ¶
Create a new Nullable[T] from a value
func NewNullableFromPtr ¶
Create a new Nullable[T] from a pointer to a value
If you need to create an Nullable[string] that is explicitly set to nil, use this method
func NewUnsetNullable ¶
Create a new Nullable[T] that is unset, This type will not be emitted when serializing
func (Nullable[T]) MarshalJSON ¶
func (*Nullable[T]) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.