Functions, receivers and control flow
Functions package reusable work. Control flow chooses when it runs, and receivers let a function act as a collection’s method.
- Function signatures
- Arguments and return values
- Closures
- Methods and receivers
- Branches and loops
- Loop evaluation
- A counter that remembers its value