Go Tutorial

Go Tutorial

Go language, is a programming language initially developed at Google in year 2007 by Robert Griesemer, Rob Pike, and Ken Thompson. Go programming language is a statically-typed language with syntax similar to that of C. It provides garbage collection, type safety, dynamic-typing capability, many advanced built-in types such as variable length arrays and key-value maps. It also provides a rich standard library.

The Go programming language was announced in November 2009 and is used in some of the Google's production systems.


This tutorial is designed for software programmers with a need to understand the Go programming language starting from scratch. This tutorial will give you enough understanding on Go programming language from where you can take yourself to higher level of expertise.


Before proceeding with this tutorial, you should have a basic understanding of Computer Programming terminologies. A basic understanding of any of the programming languages will help you in understanding the Go programming concepts and move fast on the learning track.

Compile/Execute Go Programs

For most of the examples given in this tutorial, you will find Try it option, so just make use of it and enjoy your learning.

Try following example using Try it option available at the top right corner of the below sample code box:

package main

import "fmt"

func main() {
   fmt.Println("Hello, World!")