Fix a name err
This commit is contained in:
@@ -61,7 +61,7 @@ beego orm支持go get方式安装,是完全按照Go Style的方式来实现的
|
|||||||
orm.RegisterDriver("postgres", orm.DR_Postgres)
|
orm.RegisterDriver("postgres", orm.DR_Postgres)
|
||||||
|
|
||||||
// 设置默认数据库
|
// 设置默认数据库
|
||||||
//mysql用户:postgres ,密码:zxxx , 数据库名称:test , 数据库别名:default
|
//PostgresQL用户:postgres ,密码:zxxx , 数据库名称:test , 数据库别名:default
|
||||||
orm.RegisterDataBase("default", "postgres", "user=postgres password=zxxx dbname=test host=127.0.0.1 port=5432 sslmode=disable")
|
orm.RegisterDataBase("default", "postgres", "user=postgres password=zxxx dbname=test host=127.0.0.1 port=5432 sslmode=disable")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user