diff --git a/Installation.md b/Installation.md index fd41b96..ad4aa11 100644 --- a/Installation.md +++ b/Installation.md @@ -3,8 +3,7 @@ Iris is a cross-platform software. The only requirement is the [Go Programming Language](https://golang.org/dl/), version 1.13 and above. ```sh -$ cd $YOUR_PROJECT_PATH -$ export GO111MODULE=on +$ go env -w GO111MODULE=on ``` ## Install @@ -21,7 +20,7 @@ module your_project_name go 1.13 require ( - github.com/kataras/iris/v12 v12.1.3 + github.com/kataras/iris/v12 v12.1.5 ) ``` @@ -37,6 +36,10 @@ $ go get -u github.com/kataras/iris/v12@master ## Troubleshooting -If you get a network error during installation please make sure you set a valid [GOPROXY environment variable](https://github.com/golang/go/wiki/Modules#are-there-always-on-module-repositories-and-enterprise-proxies) e.g. `GOPROXY=https://goproxy.cn` or `GOPROXY=https://gocenter.io` or `GOPROXY=https://goproxy.io`. +If you get a network error during installation please make sure you set a valid [GOPROXY environment variable](https://github.com/golang/go/wiki/Modules#are-there-always-on-module-repositories-and-enterprise-proxies). + +```sh +go env -w GOPROXY=https://goproxy.cn,https://gocenter.io,https://goproxy.io,direct +``` Continue by reading our [[Getting Started]] tutorial.