1
0
mirror of https://github.com/beego/bee.git synced 2024-12-22 10:00:50 +00:00

Update hprose.go

db连接信息使用双引号包含
This commit is contained in:
Hank.Lu 2018-12-06 15:01:38 +08:00 committed by GitHub
parent d3a825f92d
commit babd8d04b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ var CmdHproseapp = &commands.Command{
{{"To scaffold out your application, use:"|bold}}
$ bee hprose [appname] [-tables=""] [-driver=mysql] [-conn=root:@tcp(127.0.0.1:3306)/test]
$ bee hprose [appname] [-tables=""] [-driver=mysql] [-conn="root:@tcp(127.0.0.1:3306)/test"]
If 'conn' is empty, the command will generate a sample application. Otherwise the command
will connect to your database and generate models based on the existing tables.