2
0

ScanRowValue accepts interface{} dst

This commit is contained in:
Jack Christensen
2020-05-02 17:17:12 -05:00
parent 10838b39f6
commit 37e976192b
4 changed files with 6 additions and 22 deletions
-2
View File
@@ -459,8 +459,6 @@ func (ci *ConnInfo) Scan(oid uint32, formatCode int16, buf []byte, dest interfac
} else {
return errors.Errorf("%T is not a pgtype.TextDecoder", dt.Value)
}
default:
return errors.Errorf("unknown format code: %v", formatCode)
}
if !isFastType {