Go by Example

FreeGogobyexample.com

Best for: Looking up how to do X in Go

Overview

Short annotated Go programs, one per topic, from basics to goroutines, channels and testing.

Strengths

  • Quick to scan
  • Runnable examples

Drawbacks

  • Explains little beyond the code

Alternatives to Go by Example

See all 9 →

A Tour of Go

Your first day with Go
Free

The official interactive Go introduction: run and edit code in the browser while it walks through syntax, methods, interfaces and concurrency.

Effective Go

Writing Go the way the Go team does
Free

The Go team's guide to writing idiomatic Go: naming, formatting, errors, interfaces and concurrency.

Gin

Building REST APIs in Go
Free

Popular HTTP web framework for Go with fast routing, middleware, JSON binding and validation.

Go module
Visit ↗