TheDeveloperCafe
HomeAbout
Loading environment variables properly in Go with env and godotenv

GO

Loading environment variables properly in Go with env and godotenv

In this article you are going to learn how to load environment variables in Go. First you will learn...

Serving static files in Go

GO

Serving static files in Go

In this article you are going to learn how to serve static files in GO over http. We will first lear...

Singleton in Golang

GO

Singleton in Golang

Learn to use the singleton pattern in Go and how to make it safely run in a concurrent environment...

Loops in Golang

GO

Loops in Golang

In this article you are going to learn how to loop in golang. Looping is fairly simple concept in ge...

Functions in Golang

GO

Functions in Golang

Functions are at the core of Golang, they are easy to understand, fun to work with and surprisingly...

Variables in Golang

GO

Variables in Golang

Go takes slightly different approach for variable declaration compared to other languages, there are...