Go beginner’s guide: top 4 resources to get you started

yourbasic.org/golang
Completely focused student in Ulaanbaatar

Code in Go (try it out)

The Go Playground is an interactive web service that lets you run small Go programs, such as this “Hello, world!” program, inside a sandbox. Try it out!

package main

import "fmt"

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

Learn Go basics

A Tour of Go is an interactive tutorial with many example programs. It comes from the official golang site and teaches you the basics of Go programming directly in your browser. Try it out, it’s fun!

Install the Go tools

Getting Started explains how to install the Go tools.

It has binary distributions for many platforms, inlcuding FreeBSD, Linux, Mac OS X, Windows and x86 processor architectures. It also explains how to install from source.

Start a Go project

How to Write Go Code demonstrates the development of a simple Go package.

It shows how to organize and test your code. It also introduces the go command, the standard way to fetch, build, and install Go packages and commands.

Writing, building, installing, and testing Go code is a screencast covering the same topics.

Further reading

Tutorials for beginners and experienced developers alike: best practices and production-quality code examples.

Share this page: