From bc846b254e97f75f8abbefed3246405c47fe1fc8 Mon Sep 17 00:00:00 2001 From: Ming Deng Date: Wed, 25 Nov 2020 21:01:30 +0800 Subject: [PATCH] Update to v1.12.3 --- cmd/commands/api/apiapp.go | 2 +- cmd/commands/hprose/hprose.go | 2 +- cmd/commands/new/new.go | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/commands/api/apiapp.go b/cmd/commands/api/apiapp.go index 13a1e41..718342a 100644 --- a/cmd/commands/api/apiapp.go +++ b/cmd/commands/api/apiapp.go @@ -38,7 +38,7 @@ var CmdApiapp = &commands.Command{ now default supoort generate a go modules project. {{"Example:"|bold}} - $ bee api [appname] [-tables=""] [-driver=mysql] [-conn="root:@tcp(127.0.0.1:3306)/test"] [-gopath=false] [-beego=v1.12.1] + $ bee api [appname] [-tables=""] [-driver=mysql] [-conn="root:@tcp(127.0.0.1:3306)/test"] [-gopath=false] [-beego=v1.12.3] If 'conn' argument is empty, the command will generate an example API application. Otherwise the command will connect to your database and generate models based on the existing tables. diff --git a/cmd/commands/hprose/hprose.go b/cmd/commands/hprose/hprose.go index 8c7eb76..79e94a9 100644 --- a/cmd/commands/hprose/hprose.go +++ b/cmd/commands/hprose/hprose.go @@ -25,7 +25,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"] [-gopath=false] [-beego=v1.12.1] + $ bee hprose [appname] [-tables=""] [-driver=mysql] [-conn="root:@tcp(127.0.0.1:3306)/test"] [-gopath=false] [-beego=v1.12.3] 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. diff --git a/cmd/commands/new/new.go b/cmd/commands/new/new.go index 8461067..073e043 100644 --- a/cmd/commands/new/new.go +++ b/cmd/commands/new/new.go @@ -31,12 +31,12 @@ var gopath utils.DocValue var beegoVersion utils.DocValue var CmdNew = &commands.Command{ - UsageLine: "new [appname] [-gopath=false] [-beego=v1.12.1]", + UsageLine: "new [appname] [-gopath=false] [-beego=v1.12.3]", Short: "Creates a Beego application", Long: ` Creates a Beego application for the given app name in the current directory. now default supoort generate a go modules project - The command 'new' creates a folder named [appname] [-gopath=false] [-beego=v1.12.1] and generates the following structure: + The command 'new' creates a folder named [appname] [-gopath=false] [-beego=v1.12.3] and generates the following structure: ├── main.go ├── go.mod