v0.0.1
This commit is contained in:
12
models/models.go
Normal file
12
models/models.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package models
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
ErrNoItems = errors.New("no items recieved, batch is empty")
|
||||
ErrInvalidBatchSize = errors.New("batch size must be greater than zero")
|
||||
ErrCannotDetectPlaceholder = errors.New("cannot detect placeholder in query")
|
||||
)
|
||||
|
||||
// BatchedQuery - single batch query
|
||||
type BatchedQuery string
|
||||
Reference in New Issue
Block a user