Links

Installation

Iris is a cross-platform software.
The only requirement is the Go Programming Language, version 1.15 and above.

Install

$ go get github.com/kataras/iris/[email protected]
Or edit your project's go.mod file.
module your_project_name
​
go 1.15
​
require (
github.com/kataras/iris/v12 master
)
$ go build

Troubleshooting

If you get a network error during installation please make sure you set a valid GOPROXY environment variable.
go env -w GOPROXY=https://goproxy.cn,https://gocenter.io,https://goproxy.io,direct
Perform a clean of your go modules cache if none of the above worked:
go clean --modcache