From a72d6174fa6e42e1fd9b2886d943c59dd247f13c Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Wed, 21 Jul 2021 15:59:53 +0700 Subject: [PATCH] chore: error definition var --- bob.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bob.go b/bob.go index 420e1e9..c25e097 100644 --- a/bob.go +++ b/bob.go @@ -1,6 +1,13 @@ package bob -import "github.com/lann/builder" +import ( + "errors" + + "github.com/lann/builder" +) + +var ErrEmptyTable = errors.New("sql: no rows in result set") +var ErrEmptyTablePgx = errors.New("no rows in result set") // BobBuilderType is the type for BobBuilder type BobBuilderType builder.Builder