Documentation ¶
Overview ¶
Package opt defines optional types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
type Bool string
Bool represents an optional boolean to be JSON-encoded. The string can be empty (for unknown or unspecified), or "true" or "false".
func (Bool) MarshalJSON ¶
func (*Bool) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.