6 tadan 1-dars
The idiomatic way to detect a failure is to write if err Fill in the blank nil { ... } right after the call.