6 tadan 1-dars

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