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 ( https://github.com/spf13/viper).
Hope that help Regards Dimas On Mon, May 18, 2020 at 12:19 AM Shishira Pradhan < shishirapradhan2...@gmail.com> wrote: > 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 load profile > specific configuration. I need to understand that how to load/pass profile > based properties in golang ? > > Thanks, > shishira > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/5aef274e-e418-430c-84c3-f5100a73e2cc%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/5aef274e-e418-430c-84c3-f5100a73e2cc%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CA%2Bp%2BMUewaAAUoAsN2LLomZF2BCAb%2Bm65h%3DJ4uk3n1NTsbe5qfw%40mail.gmail.com.