mirror of https://github.com/go-gorm/gorm.git
fixed golint issues
This commit is contained in:
parent
3b6d790e93
commit
fce49136e8
|
@ -127,9 +127,9 @@ func (data *EncryptedData) Scan(value interface{}) error {
|
|||
|
||||
*data = b[3:]
|
||||
return nil
|
||||
} else {
|
||||
return errors.New("Bytes expected")
|
||||
}
|
||||
|
||||
return errors.New("Bytes expected")
|
||||
}
|
||||
|
||||
func (data EncryptedData) Value() (driver.Value, error) {
|
||||
|
|
Loading…
Reference in New Issue