We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have structs similar to:
struct
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: bazBaz
fig loads the config as follows:
fig
(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?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have
struct
s similar to:And a config file like so:
fig
loads the config as follows:but I would hope to get:
Is there a workaround or a setting I need to tweak?
The text was updated successfully, but these errors were encountered: