Go Tutorials
A full Go course: types, structs, interfaces, errors, modules, testing, and concurrency basics.
This course includes 18 lessons grouped from first steps to more capable workflows. Work through a group in order, or jump to the task you need today. Every lesson includes explanations, copyable examples, and tips written for beginners.
Cheatsheet · Search this course · Programming category · All categories
Getting started
Topic pageData and control
Topic pageFunctions and types
Topic pageConcurrency and tools
Topic page- Goroutines IntroStart lightweight concurrent functions with the go keyword.
- Channels IntroSend and receive values between goroutines with channels.
- Go ModulesInitialize a module, manage dependencies, and tidy go.mod.
- Testing BasicsWrite table-driven unit tests with the testing package.
- fmt and ioFormat output and read bytes with fmt and basic io patterns.