December 2022

Golang Viper – load multiple configuration files

In a previous post, I covered on basic usage of the Golang library Viper. As of version v1.14.0, a single Viper instance supports loading configurations from only one configuration file. If our application work with multiple configuration files, then we have to manage this manually. This post covers how to load configurations from multiple configuration files […]

Golang Viper – load multiple configuration files Read More »

Using Viper with environment variables in Golang

In a previous post, I have explained how to use Viper. As a continuation, this post will cover on using Viper with environment variables in a Golang application. Just like loading configuration from a configuration file, using Viper, we can also load configuration from environment variables. Viper provides three methods to work with environment variables.

Using Viper with environment variables in Golang Read More »

Loading configurations using Viper in Golang

Building a Golang application? Working with configurations? Then you should checkout the library Viper 🐍. Viper is a cool library for loading configurations into your Golang application. This post covers the basics of using Viper to load configuration into your golang application. What is Viper? Viper is a library for Golang that provides complete configuration

Loading configurations using Viper in Golang Read More »

error

Enjoy this blog? Please spread the word :)