fixed golint issues

This commit is contained in:
Viktor Nikolaiev 2017-08-31 10:30:48 +03:00
parent 6dcebbdb5e
commit bec965ce10

View File

@ -126,9 +126,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) {