mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 23:40:35 +01:00
version 12.1.5
parent
fa73d15815
commit
14d757bfbc
|
@ -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.
|
The only requirement is the [Go Programming Language](https://golang.org/dl/), version 1.13 and above.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ cd $YOUR_PROJECT_PATH
|
$ go env -w GO111MODULE=on
|
||||||
$ export GO111MODULE=on
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
@ -21,7 +20,7 @@ module your_project_name
|
||||||
go 1.13
|
go 1.13
|
||||||
|
|
||||||
require (
|
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
|
## 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.
|
Continue by reading our [[Getting Started]] tutorial.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user