Lesson 1 of 6

The idiomatic way to detect a failure is to write if err nil { ... } right after the call.