Skip to content
New issue

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

Update config docs to use v2 Initializer #14

Open
blaynewagner opened this issue Aug 17, 2022 · 0 comments
Open

Update config docs to use v2 Initializer #14

blaynewagner opened this issue Aug 17, 2022 · 0 comments

Comments

@blaynewagner
Copy link

blaynewagner commented Aug 17, 2022

https://nacelle.dev/docs/core/config

Would it be possible to update these docs to explain how to inject configuration using the v2 initializer?

When using the (p *Process) Init(cfg nacelle.Config) err initializer, it doesn't look like nacelle is running it, due to the contract mismatch.

It'd be super helpful to get an example of initializing/loading the config, and pulling a value from it, using the nacelle.Context!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant