Variables in Golang

Variables are essential to any programming language. Now, we will see how you can use variables in Golang. Since Go is a statically typed programming language, that means the variable type is inferred before compilation. The “var” keyword The var keyword is used to declare a variable. The code below shows how the variable declaration […]

Variables in Golang Read More »

Hello World Program in Golang

Golang is a compiled programming language, developed and designed at Google in 2007. Its syntax is similar to that of C programming language. Writing a Go program is really easy as we will see. Today we will write our first Go program. 1. Setting up Go workspace First of all, follow these tutorials to download

Hello World Program in Golang Read More »

How to Install Go on Linux

In this post, we will see how to install Golang in Linux (Ubuntu). Golang is a multipurpose programming language, that can be used to create system software and much more. It comes with memory safety, garbage collection, and a very accessible concurrent programming system. Installing Go in Linux is not hard. We will install it

How to Install Go on Linux Read More »

How to Install Go on Mac OS

It’s very easy to install Go on Mac OS. Let’s get started. 1. Download Go Mac OS Installer Package Go to the Golang download page: https://go.dev/dl/ and download the Mac OS installer package. 2. Run the Installer Package to Install Go on Mac Open the Mac OS installer package and follow the steps. There are

How to Install Go on Mac OS Read More »

How to Install Go on Windows

Golang or go in short is an open-source systems programming language. Its syntax is similar to that of the C programming language and comes with memory safety and garbage collection. It’s really simple to install go. So, let’s get started. Prerequisites for Golang We need a version control software to manage go projects. Here we

How to Install Go on Windows Read More »