1
0
mirror of https://github.com/beego/bee.git synced 2025-06-12 04:50:40 +00:00
go simple
golint
structcheck
staticcheck
unused
unconvert
This commit is contained in:
Sergey Lanzman
2017-03-11 10:57:06 +02:00
parent 3d5b13d84e
commit feea8877c0
11 changed files with 71 additions and 86 deletions

View File

@ -123,7 +123,7 @@ func GetBeegoVersion() string {
return ""
}
if gopath == "" {
err = fmt.Errorf("You need to set GOPATH environment variable")
beeLogger.Log.Error("You need to set GOPATH environment variable")
return ""
}
wgopath := path.SplitList(gopath)