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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user