Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericType ¶
type GenericType any
type Type ¶
type Type struct { Value GenericType Set bool // if json object has this field }
Type is a nullable type.
func (Type) Default ¶
func (t Type) Default(v GenericType) GenericType
Default return default value its value is Null or not Set.
func (Type) Ptr ¶
func (t Type) Ptr() *GenericType
func (*Type) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.