You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm integrating gookit/config in an existing project in order to manage the configuration. I've ran into some issues, but I've been able to workaround them in one way or another β I'm pretty new to Go as well π¬
What I've been able to do is to be able to interrupt the application bootstrapping when there is a missing value. For instance, consider the following configuration:
It would be great to have the behavior that Docker Composeprovides to fail whenever a value for an environment variable is not present. Basically, if implemented exactly the same (bonus points!) the YAML file would be like this:
I'm integrating
gookit/config
in an existing project in order to manage the configuration. I've ran into some issues, but I've been able to workaround them in one way or another β I'm pretty new toGo
as well π¬What I've been able to do is to be able to interrupt the application bootstrapping when there is a missing value. For instance, consider the following configuration:
It would be great to have the behavior that
Docker Compose
provides to fail whenever a value for an environment variable is not present. Basically, if implemented exactly the same (bonus points!) the YAML file would be like this:The text was updated successfully, but these errors were encountered: