合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
Iris 是一个跨平台软件框架。 唯一的要求是[Go 编程语言](https://golang.org/dl/),版本1.13及更高版本。 ``` $ cd $YOUR_PROJECT_PATH $ export GO111MODULE=on ``` # 安装 ``` $ go get github.com/kataras/iris/v12@latest ``` 或编辑你项目的 `go.mod` 文件。 ``` module your_project_name go 1.13 require ( github.com/kataras/iris/v12 v12.1.3 ) ``` > $ go build # 故障排除 如果在安装过程中出现网络错误,请确保设置有效的 [GOPROXY 环境变量](https://github.com/golang/go/wiki/Modules#are-there-always-on-module-repositories-and-enterprise-proxies) ,例如 GOPROXY=https://goproxy.cn 或者 GOPROXY=https://gocenter.io 或者 GOPROXY=https://goproxy.io 。 请继续阅读我们的 [入门](https://github.com/kataras/iris/wiki/Getting-started) 教程。