mirror of
https://github.com/kataras/iris.git
synced 2025-02-09 02:34:55 +01:00
update installation chapter
parent
541724e6fa
commit
f583a453bf
|
@ -1,14 +1,21 @@
|
||||||
Iris is a cross-platform software.
|
Iris is a cross-platform software.
|
||||||
|
|
||||||
The only requirement is the [Go Programming Language](https://golang.org/dl).
|
The only requirement is the [Go Programming Language](https://golang.org/dl/), version 1.12 and above.
|
||||||
|
|
||||||
Start a terminal session and execute:
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# downloads and installs the latest version of Iris go package
|
$ go get github.com/kataras/iris@v11.2.0
|
||||||
$ go get -u github.com/kataras/iris
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Iris takes advantage of the [vendor directory](https://docs.google.com/document/d/1Bz5-UB7g2uPBdOx-rw5t9MxJwkfpx90cqG9AFL0JAYo) feature. You get truly reproducible builds, as this method guards against upstream renames and deletes.
|
Or inside your `go.mod` file:
|
||||||
|
|
||||||
Continue by reading our [[Getting Started]] tutorial.
|
```sh
|
||||||
|
module your_project_name
|
||||||
|
|
||||||
|
go 1.12
|
||||||
|
|
||||||
|
require (
|
||||||
|
github.com/kataras/iris v11.2.0
|
||||||
|
)
|
||||||
|
```
|
||||||
|
|
||||||
|
Continue by reading our [[Getting Started]] tutorial.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user