mirror of https://github.com/beego/bee.git
1.10.2
This commit is contained in:
parent
d9eb9b56fd
commit
ea51bf2343
|
@ -57,7 +57,7 @@ Prints the current Bee, Beego and Go version alongside the platform information.
|
||||||
}
|
}
|
||||||
var outputFormat string
|
var outputFormat string
|
||||||
|
|
||||||
const version = "1.10.1"
|
const version = "1.10.2"
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
fs := flag.NewFlagSet("version", flag.ContinueOnError)
|
fs := flag.NewFlagSet("version", flag.ContinueOnError)
|
||||||
|
@ -124,7 +124,7 @@ func GetBeegoVersion() string {
|
||||||
}
|
}
|
||||||
wgopath := utils.GetGOPATHs()
|
wgopath := utils.GetGOPATHs()
|
||||||
if len(wgopath) == 0 {
|
if len(wgopath) == 0 {
|
||||||
beeLogger.Log.Error("You need to set GOPATH environment variable")
|
beeLogger.Log.Error("GOPATH environment is empty,may be you use `go module`")
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
for _, wg := range wgopath {
|
for _, wg := range wgopath {
|
||||||
|
|
Loading…
Reference in New Issue