fixed docs

This commit is contained in:
Lunny Xiao 2013-10-21 22:23:45 +08:00
parent d51382a56d
commit 7a109f220f
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ xorm 快速入门
```Go ```Go
import ( import (
_ "github.com/Go-SQL-Driver/MySQL" _ "github.com/go-sql-driver/mysql"
"github.com/lunny/xorm" "github.com/lunny/xorm"
) )
engine, err := xorm.NewEngine("mysql", "root:123@/test?charset=utf8") engine, err := xorm.NewEngine("mysql", "root:123@/test?charset=utf8")

View File

@ -22,7 +22,7 @@ Create a database engine just like sql.Open, commonly you just need create once.
```Go ```Go
import ( import (
_ "github.com/Go-SQL-Driver/MySQL" _ "github.com/go-sql-driver/mysql"
"github.com/lunny/xorm" "github.com/lunny/xorm"
) )
engine, err := xorm.NewEngine("mysql", "root:123@/test?charset=utf8") engine, err := xorm.NewEngine("mysql", "root:123@/test?charset=utf8")