"Every other statement is error checking"
func multiplyTwoNumbers() (*myType, error) { a, err := ReadNumber() if err != nil { return nil, err } b, err := ReadOtherNumber() if err != nil { return nil, err } return &myType{a * b}, nil }
func multiplyTwoNumbers() (*myType, error) { a, err := ReadNumber() if err != nil { return nil, err } b, err := ReadOtherNumber() if err != nil { return nil, err } return &myType{a * b}, nil }