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:
32
README.md
32
README.md
@@ -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>
|
||||
|
||||

|
||||
|
||||
Iris contains extensive and thorough **[documentation](https://www.iris-go.com/docs)** making it easy to get started with the framework.
|
||||
|
||||
Reference in New Issue
Block a user