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

Specify the backend #11

Closed
yaziine opened this issue Mar 3, 2018 · 2 comments
Closed

Specify the backend #11

yaziine opened this issue Mar 3, 2018 · 2 comments
Assignees
Milestone

Comments

@yaziine
Copy link
Contributor

yaziine commented Mar 3, 2018

In order to avoid some useless processing we can specify for a field in which backend we can find its value.

e.g.

type Config struct {
  Foo        string        `config:"foo",bcknd:"etcd"`
  Bar        string        `config:"bar",bcknd:"consul"`
}
@arkan
Copy link

arkan commented Mar 5, 2018

Good idea!
🌷 Just don't know if bcknd is a typo or on purpose, but backend is probably better

@yaziine
Copy link
Contributor Author

yaziine commented Mar 5, 2018

@arkan actually it was on purpose but you're right backend is better.
I thought that backend is a bit too long.

@asdine asdine added this to the v0.3.0 milestone Mar 8, 2018
@yaziine yaziine mentioned this issue Mar 9, 2018
@yaziine yaziine self-assigned this Mar 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants