You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
559 B
15 lines
559 B
package sqlbuilder
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
// Common error messages.
|
|
var (
|
|
ErrExpectingPointer = errors.New(`argument must be an address`)
|
|
ErrExpectingSlicePointer = errors.New(`argument must be a slice address`)
|
|
ErrExpectingSliceMapStruct = errors.New(`argument must be a slice address of maps or structs`)
|
|
ErrExpectingMapOrStruct = errors.New(`argument must be either a map or a struct`)
|
|
ErrExpectingPointerToEitherMapOrStruct = errors.New(`expecting a pointer to either a map or a struct`)
|
|
)
|