1
0
mirror of https://github.com/beego/bee.git synced 2025-07-05 08:00:18 +00:00

fix api hprose project

This commit is contained in:
qiantao
2020-05-26 17:58:56 +08:00
parent 8ebc0adfd1
commit 0163d03646
5 changed files with 147 additions and 24 deletions

View File

@ -71,14 +71,14 @@ func init() {
func RunMigration(cmd *commands.Command, args []string) int {
currpath, _ := os.Getwd()
gps := utils.GetGOPATHs()
if len(gps) == 0 {
beeLogger.Log.Fatal("GOPATH environment variable is not set or empty")
}
gopath := gps[0]
beeLogger.Log.Debugf("GOPATH: %s", utils.FILE(), utils.LINE(), gopath)
//gps := utils.GetGOPATHs()
//if len(gps) == 0 {
// beeLogger.Log.Fatal("GOPATH environment variable is not set or empty")
//}
//
//gopath := gps[0]
//
//beeLogger.Log.Debugf("GOPATH: %s", utils.FILE(), utils.LINE(), gopath)
// Getting command line arguments
if len(args) != 0 {