Rework error messages
This commit reworks error messages for all commands and makes sure they pass liniting.
This commit is contained in:
parent
d22784e6f5
commit
c31c46ee44
40 changed files with 249 additions and 110 deletions
|
|
@ -60,7 +60,7 @@ func (sb SQLBit1) Value() (driver.Value, error) {
|
|||
}
|
||||
}
|
||||
|
||||
var errBadBool = errors.New("SQLBit1: Database does not contain Bit(1)")
|
||||
var errBadBool = errors.New("`SQLBit1': database does not contain `Bit(1)'")
|
||||
|
||||
func (sb *SQLBit1) Scan(src interface{}) error {
|
||||
if bytes, ok := src.([]byte); ok && len(bytes) == 1 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue