Documentation
¶
Overview ¶
Package configdecode decodes a component's YAML config block over its default tags.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
func Decode(raw Unmarshaler, conf any) error
Decode sets conf's default tags and then decodes raw over them, so an explicit value, false or zero included, wins.
Types ¶
type Unmarshaler ¶
Unmarshaler is a deferred YAML decode, such as a config block captured as a RawMessage.
Click to show internal directories.
Click to hide internal directories.