Installation
Iris is a cross-platform software.
The only requirement is the Go Programming Language, version 1.21 and above.
bash
$ mkdir myapp
$ cd myapp
$ go mod init myapp
$ go get github.com/kataras/iris/v12@latest
Import it in your code:
go
import "github.com/kataras/iris/v12"
Troubleshooting
If you get a network error during installation please make sure you set a valid GOPROXY environment variable.
sh
go env -w GOPROXY=https://goproxy.io,direct
Perform a clean of your go modules cache if none of the above worked:
sh
go clean --modcache