Installation
Iris is a cross-platform software.
The only requirement is the Go Programming Language, version 1.20 and above.
Install
$ go get github.com/kataras/iris/v12@latest
Or edit your project's go.mod
file.
module your_project_name
go 1.20
require (
github.com/kataras/iris/v12 v12.2.0
)
$ 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=direct
Perform a clean of your go modules cache if none of the above worked:
go clean --modcache
Last updated
Was this helpful?