Maps

Maps are an essential programming tool used to store a collection of key-value pairs. Go has maps natively implemented in the map…

Setup and Installation

Before we get started, let's install Go, and go through the folder structure and some of its conventions. Installation Go is a fairly easy…

Structs

What we went over until now were all the primitive types provided by Go. For more complex programs, you would need to represent variables…

Types

Variables in Go are static, and strongly typed. Go has a few primitive types, of which all other types are derived. They are: Integers There…

Variables

Variables in Go, just like in other languages, are used to store and represent data. Every variable in Go has a type and a value…