fixed golint issues

This commit is contained in:
Viktor Nikolaiev 2017-08-31 10:30:48 +03:00 committed by Jinzhu
parent 3b6d790e93
commit fce49136e8
1 changed files with 3 additions and 3 deletions

View File

@ -127,9 +127,9 @@ func (data *EncryptedData) Scan(value interface{}) error {
*data = b[3:] *data = b[3:]
return nil return nil
} else {
return errors.New("Bytes expected")
} }
return errors.New("Bytes expected")
} }
func (data EncryptedData) Value() (driver.Value, error) { func (data EncryptedData) Value() (driver.Value, error) {