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 {
|
||||
module = "false"
|
||||
}
|
||||
appPath := ``
|
||||
packPath := ``
|
||||
var appPath string
|
||||
var packPath string
|
||||
var err error
|
||||
if module != `true` {
|
||||
beeLogger.Log.Info("generate api project support GOPATH")
|
||||
|
@ -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")
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user