mirror of
https://github.com/casbin/bee.git
synced 2025-07-15 23:24:20 +08:00
go vet
go simple golint structcheck staticcheck unused unconvert
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user