From efe94c317bb2e287b750bc7f75d05c3e09093565 Mon Sep 17 00:00:00 2001 From: gedi Date: Fri, 14 Feb 2014 17:12:48 +0200 Subject: [PATCH] compose Rows interface with sql driver.Rows --- rows.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rows.go b/rows.go index 0035c16..04522a2 100644 --- a/rows.go +++ b/rows.go @@ -10,11 +10,9 @@ import ( // Rows interface allows to construct rows // which also satisfies database/sql/driver.Rows interface type Rows interface { + driver.Rows // composed interface, supports sql driver.Rows AddRow(...driver.Value) Rows FromCSVString(s string) Rows - Next([]driver.Value) error - Columns() []string - Close() error } // a struct which implements database/sql/driver.Rows