Rename of types and errors.

This commit is contained in:
go-jet 2019-07-08 13:00:44 +02:00
parent 18bbf1b5fb
commit 63f2d04651
30 changed files with 142 additions and 238 deletions

View file

@ -55,11 +55,11 @@ func (l *lockStatementImpl) DebugSql() (query string, err error) {
func (l *lockStatementImpl) Sql() (query string, args []interface{}, err error) {
if l == nil {
return "", nil, errors.New("nil Statement.")
return "", nil, errors.New("jet: nil Statement.")
}
if len(l.tables) == 0 {
return "", nil, errors.New("There is no table selected to be locked. ")
return "", nil, errors.New("jet: There is no table selected to be locked. ")
}
out := &sqlBuilder{}