浏览代码

修复BUG

Minho 8 年之前
父节点
当前提交
998aaffd37
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      commands/update.go

+ 1 - 3
commands/update.go

@@ -9,8 +9,6 @@ import (
 
 	"github.com/astaxie/beego"
 	"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)
 		os.Exit(0)
 	}
-}
+}