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

Support conditions in tags #37

Open
ArtAndreev opened this issue Mar 24, 2023 · 1 comment
Open

Support conditions in tags #37

ArtAndreev opened this issue Mar 24, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@ArtAndreev
Copy link

I wanted to add envconfig tag as explicit tag required for function Process:

- name: github.com/kelseyhightower/envconfig.Process
  tag: envconfig
  arg-pos: 1

As it stated in README.md, tag ignored is used, when field must not be processed.

So there is no way to define that either envconfig or ignored must be added to struct.

@tmzane
Copy link
Member

tmzane commented Mar 25, 2023

I understood your use case, will try to implement the feature.

@tmzane tmzane added the enhancement New feature or request label Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants