Skip to main content

Build fast, reliable, and efficient software at scale

Go is a statically typed, compiled programming language designed at Google. It combines the performance and security benefits of a compiled language with the ease of programming of a dynamic language.

Install Go

Download and install Go on your system

Quick Start

Write your first Go program in minutes

Language Specification

Complete language reference and syntax

Standard Library

Explore Go’s comprehensive standard library

Why Go?

Fast compilation and execution

Go compiles quickly to machine code yet has the convenience of garbage collection and runtime reflection. Programs compile in seconds and execute with near-C performance.

Built-in concurrency

Goroutines and channels make it easy to write programs that get the most out of multicore and networked machines. Concurrent programming is part of the language, not an afterthought.
go func() {
    // This runs concurrently
    fmt.Println("Hello from goroutine")
}()

Simple and productive

Go’s syntax is clean and concise. The language is small enough to fit in your head, with only 25 keywords. Code is easy to read, write, and maintain.
package main

import "fmt"

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

Strong standard library

Go comes with a rich standard library covering:
  • Web servers and HTTP clients
  • JSON/XML encoding and decoding
  • Cryptography and security
  • File I/O and OS interaction
  • Testing and benchmarking
The standard library is production-ready and maintained by the Go team, so you can build complete applications without external dependencies.

Key Features

Static Typing

Catch errors at compile time with Go’s type system

Fast Compilation

Build programs in seconds, not minutes

Garbage Collection

Automatic memory management with low latency

Cross-Platform

Compile for Linux, macOS, Windows, and more

Excellent Tooling

Built-in formatting, testing, and profiling tools

Great Performance

Near-C performance with modern language features

What You Can Build with Go

Cloud and Network Services

Go excels at building scalable network services, APIs, and microservices. Companies like Google, Netflix, and Uber use Go for their infrastructure.

Command-Line Tools

Go’s single binary deployment and cross-compilation make it perfect for CLI tools. Popular tools like Docker, Kubernetes, and Terraform are written in Go.

Web Applications

The net/http package provides a production-ready web server and client. Build RESTful APIs and web applications with minimal dependencies.

DevOps and Site Reliability

Go’s reliability, performance, and deployment simplicity make it ideal for DevOps tools, monitoring systems, and infrastructure automation.

Get Started

1

Install Go

Download and install the latest version of Go for your platformGo to installation guide →
2

Learn the Basics

Follow our quickstart tutorial to write your first programStart the quickstart →
3

Dive Deeper

Explore the comprehensive tutorial and language guideBegin the tutorial →

Community and Support

Go has a vibrant, welcoming community:

Ready to start?

Install Go and build your first program

Build docs developers (and LLMs) love