fix golint issues (#459)

This commit is contained in:
Kevin Wan
2021-02-09 14:10:38 +08:00
committed by GitHub
parent 03b5fd4a10
commit 211f3050e9
2 changed files with 8 additions and 8 deletions

View File

@@ -217,18 +217,18 @@ func unmarshalRows(v interface{}, scanner rowsScanner, strict bool) error {
if err := scanner.Scan(values...); err != nil {
return err
} else {
appendFn(value)
}
appendFn(value)
}
default:
return ErrUnsupportedValueType
}
return nil
} else {
return ErrNotSettable
}
return ErrNotSettable
default:
return ErrUnsupportedValueType
}