background preloader

Go

Facebook Twitter

Go. Go is a tool for managing Go source code.

go

Usage: go command [arguments] The commands are: The Go Programming Language Blog. Getting Started. Download the Go distribution Download GoClick here to visit the downloads page Official binary distributions are available for the FreeBSD, Linux, Mac OS X (Snow Leopard and above), and Windows operating systems and the 32-bit (386) and 64-bit (amd64) x86 processor architectures. If a binary distribution is not available for your combination of operating system and architecture, try installing from source or installing gccgo instead of gc. System requirements The gc compiler supports the following operating systems and architectures. How to Write Go Code. Introduction This document demonstrates the development of a simple Go package and introduces the go tool, the standard way to fetch, build, and install Go packages and commands. The go tool requires you to organize your code in a specific way.

Please read this document carefully. It explains the simplest way to get up and running with your Go installation. A similar explanation is available as a screencast.