My advice is to use the same application-dev.yml, application-test.yml, application-prod.yml YAML files that you are familiar with, and have your application read its config from them.
Changing language does not mean that you have to change the way you configure your application. On Sunday, 17 May 2020 18:19:23 UTC+1, Shishira Pradhan 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/48ca49ae-0d0f-4148-86d4-88c65b21a62e%40googlegroups.com.