Skip to content

Commit b7d5c3b

Browse files
authored
Merge pull request #6 from razor-1/is-set
typo in Scan() with Bool type
2 parents 73626dd + 71f1654 commit b7d5c3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bool.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func (b Bool) IsZero() bool {
127127
// Scan implements the Scanner interface.
128128
func (b *Bool) Scan(value interface{}) error {
129129
if value == nil {
130-
b.Bool, b.Valid, b.set = false, false, true
130+
b.Bool, b.Valid, b.set = false, false, false
131131
return nil
132132
}
133133
b.Valid, b.set = true, true

0 commit comments

Comments
 (0)