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 {
module = "false"
}
appPath := ``
packPath := ``
var appPath string
var packPath string
var err error
if module != `true` {
beeLogger.Log.Info("generate api project support GOPATH")

View File

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

View File

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