chore: error definition var

This commit is contained in:
Reinaldy Rafli 2021-07-21 15:59:53 +07:00
parent a4dd89213f
commit a72d6174fa
1 changed files with 8 additions and 1 deletions

9
bob.go
View File

@ -1,6 +1,13 @@
package bob 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 // BobBuilderType is the type for BobBuilder
type BobBuilderType builder.Builder type BobBuilderType builder.Builder