Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Optional ¶
type Optional[T any] struct { // contains filtered or unexported fields }
Optional struct leverages any type as optional and nullable. Optional.set is true when Optional.value is to be used.
func EmptyOptional ¶
func NewOptional ¶
func (*Optional[T]) IsValueSet ¶
func (*Optional[T]) ShouldSetValue ¶
func (*Optional[T]) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.