1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 18:00:55 +00:00

err msg spell correction

This commit is contained in:
Zheng Yang 2014-09-08 18:41:42 +08:00
parent cca0a3f76d
commit 38eb29fa7b

View File

@ -35,9 +35,9 @@ func NewQueryBuilder(driver string) (qb QueryBuilder, err error) {
if driver == "mysql" { if driver == "mysql" {
qb = new(MySQLQueryBuilder) qb = new(MySQLQueryBuilder)
} else if driver == "postgres" { } else if driver == "postgres" {
err = errors.New("postgres querybuilder is not supported yet!") err = errors.New("postgres query builder is not supported yet!")
} else if driver == "sqlite" { } else if driver == "sqlite" {
err = errors.New("sqlite querybuilder is not supported yet!") err = errors.New("sqlite query builder is not supported yet!")
} else { } else {
err = errors.New("unknown driver for query builder!") err = errors.New("unknown driver for query builder!")
} }