mirror of
https://github.com/zhufuyi/sponge.git
synced 2025-10-06 09:17:19 +08:00
style: adjustment code
This commit is contained in:
@@ -116,7 +116,7 @@ func getSQL(args *Args) (string, map[string]string, error) {
|
||||
sqlStr, mongoTypeMap := parser.ConvertToSQLByMgoFields(args.DBTable, fields)
|
||||
return sqlStr, mongoTypeMap, nil
|
||||
default:
|
||||
return "", nil, fmt.Errorf("getsql error, unsupported database driver: " + dbDriverName)
|
||||
return "", nil, errors.New("get sql error, unsupported database driver: " + dbDriverName)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user