1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-25 04:45:57 +00:00

let's see

This commit is contained in:
Gerasimos (Makis) Maropoulos
2021-02-19 08:49:15 +02:00
parent b80bd10903
commit 1243150690
15 changed files with 88 additions and 95 deletions

View File

@@ -222,14 +222,44 @@ Venkatt Guhesan" title="vguhesan" with="75" style="width:75px;max-width:75px;hei
## 📖 Learning Iris
### Create a new project
```sh
$ mkdir myapp
$ cd myapp
$ go mod init myapp
$ go get github.com/kataras/iris/v12@master # or @v12.2.0-alpha2
$ go mod download
```
<details><summary>Install on existing project</summary>
```sh
$ cd myapp
$ go get github.com/kataras/iris/v12@master
```
</details>
<details><summary>Install with a go.mod file</summary>
```txt
module myapp
go 1.16
require github.com/kataras/iris/v12 master # or v12.2.0-alpha2
```
**Run**
```sh
$ go mod download
$ go run main.go
# OR go run -mod=mod main.go
```
</details>
![](https://www.iris-go.com/images/gifs/install-create-iris.gif)
Iris contains extensive and thorough **[documentation](https://www.iris-go.com/docs)** making it easy to get started with the framework.