A to Z
Glossary
Every concept in this sheet, plus the smaller terms it uses. Select a concept to open its card.
C
- context.Context
- A value passed as the first argument through a call chain that carries a deadline, a cancellation signal and request-scoped values such as a trace ID.
E
- Errors as values
- Go functions return an
erroralongside the result, and callers check it explicitly.
G
- Git commits and branches
- Git records snapshots of your project as commits.
- Goroutines and channels
- A goroutine is a function running concurrently, costing a few kilobytes of stack.
P
- Packages and Go modules
- A module is a versioned collection of packages defined by
go.mod;go.sumrecords checksums. - Pull requests
- A pull request proposes merging a branch into main and shows the diff, CI results and review comments in one place.
S
- Structs and implicit interfaces
- A struct holds data and methods.
T
- Terminal essentials
- A shell runs commands such as
cd,ls,cat,grepandcurl, and pipes (|) feed one command's output into the next.