Documentation
¶
Index ¶
- type Option
- func (o Option[T]) MarshalBinary() (data []byte, err error)
- func (o Option[T]) MarshalJSON() ([]byte, error)
- func (o Option[T]) MarshalText() (text []byte, err error)
- func (o Option[T]) UnmarshalBinary(data []byte) error
- func (o Option[T]) UnmarshalJSON([]byte) error
- func (o Option[T]) UnmarshalText(text []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
func (Option[T]) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler.
func (Option[T]) MarshalJSON ¶
MarshalJSON implements json.Marshaler.
func (Option[T]) MarshalText ¶
MarshalText implements encoding.TextMarshaler.
func (Option[T]) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler.
func (Option[T]) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler.
func (Option[T]) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
Click to show internal directories.
Click to hide internal directories.