-
Notifications
You must be signed in to change notification settings - Fork 68
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
Add support for .env config files #110 #121
Conversation
I can work on it again if you didn't like my implementation. |
Thanks for the contribution @HakanVardarr ! Looks like you're just missing a few lines in the test data struct to test your .env file validator. |
@kehoecj Oh I didn't see that struct :) I am going to look that right now |
Interesting addition to the project, thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! One comment regarding error output.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Env file support * Removed test * Added test back * Test Struct
* Env file support * Removed test * Added test back * Test Struct
I implemented a env validator using go-envparse package, also added a good.env and bad.env to test the env validator.
Closes #110