Go: Get started

“Go is an open source pro­gram­ming language that makes it easy to build simple, reliable, and efficient software.”
– golang.org

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 the basics

A Tour of Go is an interactive tutorial with many example programs.

  • It teaches you the basics of Go programming directly in your browser.
  • Also, it’s fun.

Install the tools

Getting Started explains how to install the Go tools.

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

Start a 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.

Comments

Be the first to comment!