I am also Java Developer using SpringBoot as my framework, I use three
kinds of application configuration files (dev, staging, production). But in
Go, I / we use Consul for storing configuration so the configuration file
will be only one. For configuration format I use Yaml format using viper (
SpringBoot is a framework. How it handles this is different from every other
framework.
Easiest way in Go, just name your configuration files similar to
filename.mode.yaml where mode is prod, dev, qa, etc. and set a env variable for
the mode.
You can then take it from there, and have base
Hi All,
i'm a java developer, currently working on golang. In springboot, we have
configuration like port, database etc info are stored in yaml files like
application-dev.yml, application-test.yml, application-prod.yml profiles,
and profile name is passed during running the application to