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
Add iteratesuffix configuration param for decoding slice from separate env values
iteratesuffix
Example:
type MyStruct struct { MyVar []string `env:"MYVAR, iteratesuffix"` }
export MYVAR0="a" export MYVAR1="b" export MYVAR2="c" export MYVAR3="d"
will substitute values to slice as
MyStruct { MyVar: []string{"a", "b", "c", "d"}, }
The text was updated successfully, but these errors were encountered:
Why? What's the use case?
Sorry, something went wrong.
No branches or pull requests
Add
iteratesuffix
configuration param for decoding slice from separate env valuesExample:
will substitute values to slice as
The text was updated successfully, but these errors were encountered: