Documentation
¶
Overview ¶
Package config provides config utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OverlayMap ¶
OverlayMap takes in a map[string]any and will overlay the file contents on a struct. It does this through the yaml/json structs. This function thus relies on both json/yaml struct tags, and that it's values are the same.
This method is often used as dirty trick around https://github.com/golang/go/issues/48522
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.