Update Go in actions and add go vet to pre-commit
This commit is contained in:
@@ -33,7 +33,6 @@ func (mq *MessageQuery) scanAll(rows *sql.Rows, err error) []*Message {
|
||||
if err != nil {
|
||||
mq.log.Warnfln("Failed to query many messages: %v", err)
|
||||
panic(err)
|
||||
return nil
|
||||
} else if rows == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user