Skip to content

Commit

Permalink
remove dangling else from denisenkom#254
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoiron committed Oct 29, 2016
1 parent 0f13de5 commit 5f97679
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,8 @@ type BitBool bool
func (b BitBool) Value() (driver.Value, error) {
if b {
return []byte{1}, nil
} else {
return []byte{0}, nil
}
return []byte{0}, nil
}

// Scan implements the sql.Scanner interface,
Expand Down

0 comments on commit 5f97679

Please sign in to comment.