Exercise document-root controls through the public API
This commit is contained in:
@@ -26,7 +26,7 @@ func ExampleLoad_sequenceDeclaration() {
|
||||
type Config struct {
|
||||
Items []Item `yaml:"items"`
|
||||
}
|
||||
result, err := configkit.Load[Config](configkit.Bytes("catalog.yml", []byte(`configkit:
|
||||
result, err := configkit.Load[Config](configkit.Bytes("catalog.yml", []byte(`config:
|
||||
sequences:
|
||||
- destination: [items]
|
||||
key: id
|
||||
|
||||
Reference in New Issue
Block a user