cg33 6 lat temu
rodzic
commit
8912c3477d
1 zmienionych plików z 8 dodań i 3 usunięć
  1. 8 3
      README.md

+ 8 - 3
README.md

@@ -1,8 +1,12 @@
 # go-admin example
 
-a example show how to run go-admin
+a example show how to run go-admin.
 
-一个运行go-admin的例子
+一个运行go-admin的例子。
+
+Following two ways to run the code.
+
+以下两种方法。建议go版本大于1.11使用模块加载,同时设置环境变量```GOPROXY=http://goproxy.cn```,版本低于1.11的盆友使用第二种方法。
 
 ## use go module 使用模块加载依赖
 
@@ -29,10 +33,11 @@ git clone https://github.com/GoAdminGroup/example.git
 ### step 2
 
 ```shell
+go get github.com/kardianos/govendor
 govendor sync
 ```
 
-如果你在中国,下载依赖有问题,那么你可以直接从这里下载:[vendor.zip](https://gitee.com/cg33/go-admin/attach_files/279551/download)
+如果你在中国,用以上步骤进行下载安装依赖有问题,那么你可以直接从这里下载:[vendor.zip](https://gitee.com/cg33/go-admin/attach_files/279551/download)
 
 下载完解压到项目文件夹即可。