Learn Go, one chapter — and one use case — at a time.
What you’ll find here
Section titled “What you’ll find here”nasigolang.com is a free, hands-on tutorial for the Go programming language. Every chapter pairs a concept with a runnable code sample and a short real-world use case, so you always see why a feature exists, not just what it does.
BasicsInstalling Go, variables, control flow, functions, slices, maps, structs, and error handling.
IntermediateInterfaces, goroutines & channels, modules, table-driven testing, and generics.
AdvancedConcurrency patterns, context, reflection, and profiling real programs.
Use CasesBuild a REST API, a CLI tool, and a Go+WASM Cloudflare Worker from scratch.
Web Scraping with GoFetch and parse HTML, crawl concurrently, and export data — the ethical, sustainable way: respecting robots.txt, rate limits, and site terms of service.
Runnable examplesMost code blocks have a "Run" button backed by the official Go Playground, so you can experiment without installing anything.
The Go gopher mascot was created by Renée French and is licensed under CC BY 4.0.