Skip to content

Commit 5f97679

Browse files
committed
remove dangling else from #254
1 parent 0f13de5 commit 5f97679

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

types/types.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,8 @@ type BitBool bool
117117
func (b BitBool) Value() (driver.Value, error) {
118118
if b {
119119
return []byte{1}, nil
120-
} else {
121-
return []byte{0}, nil
122120
}
121+
return []byte{0}, nil
123122
}
124123

125124
// Scan implements the sql.Scanner interface,

0 commit comments

Comments
 (0)