mirror of
https://github.com/beego/bee.git
synced 2024-10-31 18:50:54 +00:00
fix warning
This commit is contained in:
parent
1417bf040a
commit
ba359957b9
@ -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")
|
||||||
|
@ -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")
|
||||||
|
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user