All quizzes
GoIntroFill the blank

Complete the idiomatic Go error check by filling in the blank so the branch runs only when an error occurred.

f, err := os.Open(name)
if err ____ nil {
	return err
}
defer f.Close()