What is Go Language?

Go language is a programming language initially developed at Google in the year 2007 by Robert Griesemer, Rob Pike, and Ken Thompson. It also provides a rich standard library. The Go programming language is used in some of Google’s production systems and also in that of many other major companies.

Go resemblance with other programming languages

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

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.

Welcome to Go Language (GoLang) Tutorial. In this Go Tutorial, we will go through the Go Basics with well-detailed examples.

Prerequisites

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

Go Tutorial

Go Basics

Go Control Statements

Go Functions

Functions are basic in any functional or modular programming language.

Go String Operations

Go 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.

Go Structures

Go Range

Go Maps

Go Recursion

Go Error Handling