-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
I have structs similar to:
type Foo struct {
Bar string `fig:"bar"`
}
type Config struct {
*Foo
Baz string `fig:"baz"`
}And a config file like so:
# config.yaml
bar: barBar
baz: bazBazfig loads the config as follows:
(main.Config) {
Foo: (*main.Foo)(<nil>),
Baz: (string) (len=6) "bazBaz"
}
but I would hope to get:
(main.Config) {
Foo: (*main.Foo)(0xc0000289a0)({
Bar: (string) (len=6) "barBar"
}),
Baz: (string) (len=6) "bazBaz"
}
Is there a workaround or a setting I need to tweak?
coxley
Metadata
Metadata
Assignees
Labels
No labels