Golang Tutorial

Welcome to Go Language (GoLang) Tutorial. In this tutorial, we learn what Go language is, its features, and list out the tutorials covering basics, conditional and looping statements, collections, etc.

“Go” and “Golang” are used interchangeably in this and subsequent tutorials.

What is Go Language?

Go is a programming language initially developed at Google in the year 2007 by Robert Griesemer, Rob Pike, and Ken Thompson.

Go language provides a rich standard library. The Go programming language is used in some of Google’s production systems and also in many other major companies.

ADVERTISEMENT

Resemblance with other languages

Go is a statically-typed language having the syntax similar to that of C.

Golang Features

Go language provides

  • Garbage Collection
  • Type Safety
  • Dynamic-typing capability

and many advanced built-in types such as variable length arrays and key-value maps.

Prerequisites to learn Go

Basic programming concepts would help you understand easily. This Go tutorial is targeted for beginners. So, even if you have just started programming with Go language, we will guide you through the basics of Go programming with well detailed tutorials.

Go Tutorials

Basics

Others

Conditional Statements

Looping Statements

Others

Example Programs using Looping Statements

Operators

Logical Operators

Arithmetic Operators

Functions

Functions are basic in any functional or modular programming language.

String Operations

Conversions

Arrays

Arrays are a kind of sequential data structures that allow to store multiple elements of a datatype under a single variable. You can access the elements using index.

Slice

Structures

Range

Maps

Conversions

Channels

Classes

HTTP

Recursion

Error Handling

  • Golang Error Handling

Math Functions