~mna/webparts

75dc1e6859d4aeb7d43599ce2d0532997bc561b0 — Martin Angers 1 year, 6 months ago 2c291ec
Expose ErrNoRows from sql package
1 files changed, 3 insertions(+), 0 deletions(-)

M sql/sql.go
M sql/sql.go => sql/sql.go +3 -0
@@ 13,6 13,9 @@ type SQL string
// Result summarizes an executed SQL command.
type Result = sql.Result

// ErrNoRows indicate that a QueryOne returned no row.
var ErrNoRows = sql.ErrNoRows

// DB defines the method required for a database pool.
type DB interface {
	Queryer