1
0
mirror of https://github.com/beego/bee.git synced 2024-11-01 00:00:53 +00:00

fix warning

This commit is contained in:
qiantao 2020-06-03 12:10:13 +08:00
parent 1417bf040a
commit ba359957b9
3 changed files with 6 additions and 6 deletions

View File

@ -568,8 +568,8 @@ func createAPI(cmd *commands.Command, args []string) int {
} else { } else {
module = "false" module = "false"
} }
appPath := `` var appPath string
packPath := `` var packPath string
var err error var err error
if module != `true` { if module != `true` {
beeLogger.Log.Info("generate api project support GOPATH") beeLogger.Log.Info("generate api project support GOPATH")

View File

@ -78,8 +78,8 @@ func createhprose(cmd *commands.Command, args []string) int {
} else { } else {
module = "false" module = "false"
} }
apppath := `` var apppath string
packpath := `` var packpath string
var err error var err error
if module != `true` { if module != `true` {
beeLogger.Log.Info("generate api project support GOPATH") beeLogger.Log.Info("generate api project support GOPATH")

View File

@ -273,8 +273,8 @@ func CreateApp(cmd *commands.Command, args []string) int {
} else { } else {
module = "false" module = "false"
} }
appPath := `` var appPath string
packPath := `` var packPath string
var err error var err error
if module != `true` { if module != `true` {
beeLogger.Log.Info("generate new project support GOPATH") beeLogger.Log.Info("generate new project support GOPATH")