Skip to content

Glossary: Go Basics

Function

Also written: functions, func

A named list of instructions that can take parameters and return results, so you can run a job without repeating the code. `main` is the function Go runs first.

Where the book teaches it