Remember when installing iris open GO111MODULE and use Chinese agent, set the environment variable in the project path:
export GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
Run the following commands is then mounted iris:
go get github.com/kataras/iris/v12@latest