From f583a453bfef0e7b97d2da98de5ad2b41ee7e521 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Sun, 21 Jul 2019 01:29:19 +0300 Subject: [PATCH] update installation chapter --- Installation.md | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/Installation.md b/Installation.md index dd09506..21204ea 100644 --- a/Installation.md +++ b/Installation.md @@ -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. \ No newline at end of file +```sh +module your_project_name + +go 1.12 + +require ( + github.com/kataras/iris v11.2.0 +) +``` + +Continue by reading our [[Getting Started]] tutorial.