Below you will find pages that utilize the taxonomy term “Config”
Posts
Go Microservice Part II - Application Configuration
In the previous blog post, Go MVC Part I - Overview we have seen the overall structure of contacts application.
Let’s start with writing the application configuration using Viper.
Viper After creating the folder structure as mentioned in the previous post, we need to import the Viper package for writing the application configuration.
From the project root folder run the below command.
$ go get github.com/spf13/viper Application Config Create a config.
read more