1
0
mirror of https://github.com/kataras/iris.git synced 2026-05-14 18:13:49 +00:00
This commit is contained in:
Gerasimos (Makis) Maropoulos
2023-03-11 22:37:55 +02:00
parent 0473648bd6
commit 946ea6787d
59 changed files with 171 additions and 311 deletions

View File

@@ -499,20 +499,20 @@ Iris 提供了至少這些功能:
$ mkdir myapp
$ cd myapp
$ go mod init myapp
$ go get github.com/kataras/iris/v12@master # 或 @v12.2.0-beta7
$ go get github.com/kataras/iris/v12@latest # 或 @v12.2.0
```
<details><summary>在現有專案安裝</summary>
```sh
$ cd myapp
$ go get github.com/kataras/iris/v12@master
$ go get github.com/kataras/iris/v12@latest
```
**執行**
```sh
$ go mod tidy -compat=1.19 # Windows 的話,請試試 -compat="1.19"
$ go mod tidy -compat=1.20 # Windows 的話,請試試 -compat="1.20"
$ go run .
```