mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 15:30:36 +01:00
update installation chapter
parent
541724e6fa
commit
f583a453bf
|
@ -1,14 +1,21 @@
|
|||
Iris is a cross-platform software.
|
||||
|
||||
The only requirement is the [Go Programming Language](https://golang.org/dl).
|
||||
|
||||
Start a terminal session and execute:
|
||||
The only requirement is the [Go Programming Language](https://golang.org/dl/), version 1.12 and above.
|
||||
|
||||
```sh
|
||||
# downloads and installs the latest version of Iris go package
|
||||
$ go get -u github.com/kataras/iris
|
||||
$ go get github.com/kataras/iris@v11.2.0
|
||||
```
|
||||
|
||||
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