Go (Golang) Docs - Complete Documentation by ntxm.org

Go (Golang) Docs

Learn Go from the ground up: install the toolchain, then work through syntax, functions, slices, maps, structs, pointers, methods, interfaces, error handling, concurrency, context, packages and modules, testing, and the standard library.

Go is a small, compiled language from Google. It builds fast, ships as a single binary, and makes concurrent code easy to write, which is why so many backend services, CLIs and cloud tools use it.

Version:

These docs target Go 1.22 and newer. Where behaviour changed (for example, per-iteration loop variables in 1.22), the page says so.

Start with What Is Go for the design story, then install the toolchain and learn the go command. From there the docs walk through language basics, functions, slices, maps, interfaces, errors, concurrency, context, packages and modules, testing and standard library essentials.