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

Install

1
$ go get github.com/kataras/iris/[email protected]
Copied!
Or edit your project's go.mod file.
1
module your_project_name
2
3
go 1.15
4
5
require (
6
github.com/kataras/iris/v12 master
7
)
Copied!
$ go build

Troubleshooting

If you get a network error during installation please make sure you set a valid GOPROXY environment variable.
1
go env -w GOPROXY=https://goproxy.cn,https://gocenter.io,https://goproxy.io,direct
Copied!
Perform a clean of your go modules cache if none of the above worked:
1
go clean --modcache
Copied!
Last modified 9mo ago
Export as PDF
Copy link