Browse Source

修复BUG

Minho 8 years ago
parent
commit
998aaffd37
1 changed files with 1 additions and 3 deletions
  1. 1 3
      commands/update.go

+ 1 - 3
commands/update.go

@@ -9,8 +9,6 @@ import (
 
 
 	"github.com/astaxie/beego"
 	"github.com/astaxie/beego"
 	"github.com/lifei6671/godoc/conf"
 	"github.com/lifei6671/godoc/conf"
-	"github.com/astaxie/beego/orm"
-	"strings"
 )
 )
 
 
 //检查最新版本.
 //检查最新版本.
@@ -46,4 +44,4 @@ func CheckUpdate() {
 		fmt.Println("MinDoc last version => ", result[0].Name)
 		fmt.Println("MinDoc last version => ", result[0].Name)
 		os.Exit(0)
 		os.Exit(0)
 	}
 	}
-}
+}