From e5f65287df4f860fedcaad9ac60d9d5bbfd572f2 Mon Sep 17 00:00:00 2001 From: br3w0r Date: Wed, 27 Mar 2024 19:36:14 +0400 Subject: [PATCH] remove Value method --- dbscan/rowscanner.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dbscan/rowscanner.go b/dbscan/rowscanner.go index d88ad9f..a1db768 100644 --- a/dbscan/rowscanner.go +++ b/dbscan/rowscanner.go @@ -1,7 +1,6 @@ package dbscan import ( - "database/sql/driver" "fmt" "reflect" ) @@ -130,10 +129,6 @@ func (*noOpScanType) Scan(value interface{}) error { return nil } -func (noOpScanType) Value() (driver.Value, error) { - return nil, nil -} - func (rs *RowScanner) scanStruct(structValue reflect.Value) error { scans := make([]interface{}, len(rs.columns)) for i, column := range rs.columns {