Skip to main content
0

Name a piece of work

Functions package logic once so you can reuse it everywhere: compute a level, format a score, check a password. In Go a function can also return several values at once, which is the backbone of error handling.