Functions can return multiple values, and the idiom is `(result, error)`. Named return values allow bare returns and pair with deferred cleanup. Variadic parameters use `...T`, and functions are first-class values that can be stored and passed.
← Go theorytheory 0/50 · 0%
Fundamentals · easy
6. Functions and Multiple Returns
Returning values plus an error.
Check your understanding
1. The idiomatic second return value is…
2. Variadic parameters are written…