Iris is a cross-platform software.
The only requirement is the Go Programming Language, version 1.13 and above.
$ go env -w GO111MODULE=on
$ go get github.com/kataras/iris/v12@master
Or edit your project's go.mod
file.
module your_project_name
go 1.14
require (
github.com/kataras/iris/v12 v12.1.9-0.20200618063647-c11725ab44d1
)
$ go build
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