github.com/jamiefdhurst/journal@v0.9.2/pkg/database/rows/rows.go (about) 1 package rows 2 3 // Rows Define a common interface for a result of rows 4 type Rows interface { 5 Close() error 6 Columns() ([]string, error) 7 Next() bool 8 Scan(dest ...interface{}) error 9 }