Skip to content
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.

Commit

Permalink
golint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Jan 9, 2017
1 parent 194ba2b commit 4b1a73f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/conversion.go
Expand Up @@ -32,9 +32,8 @@ func (s *Status) FromDB(bytes []byte) error {
if r, ok := Statuses[string(bytes)]; ok {
*s = r
return nil
} else {
return errors.New("no this data")
}
return errors.New("no this data")
}

// ToDB implemented xorm.Conversion convent to database data
Expand Down

0 comments on commit 4b1a73f

Please sign in to comment.