Skip to content

Commit 71f1654

Browse files
committed
typo in Scan() with Bool type
1 parent 195c99c commit 71f1654

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)