Optimize API performance with Gzip Compression in Golang

An application’s performance is a crucial aspect that directly impacts user’s satisfaction and search engine rankings. In one of the projects I worked in, we got users complaining about our application’s performance. On digging further, we found that the response body of an API we used was huge and the application spent long time on […]

Optimize API performance with Gzip Compression in Golang Read More »

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 »

Program translator tools – Assembler, Compiler and Interpreter

In my previous posts about Programming Language Generations and Low-level vs High-level languages, I mentioned the term Program translator tools. If you haven’t read them yet, I would suggest you to read for better context. In this post, I’m going to discuss more about the program translator tools. More about what each translator tool, the

Program translator tools – Assembler, Compiler and Interpreter Read More »