From b39ef926de050ea11a90fea1b78f1ad0f0a3044e Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Sat, 5 Oct 2019 22:56:47 +0300 Subject: [PATCH] update installation section until poll ends --- Installation.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/Installation.md b/Installation.md index a6aae6b..c907e64 100644 --- a/Installation.md +++ b/Installation.md @@ -1,30 +1,38 @@ Iris is a cross-platform software. -The only requirement is the [Go Programming Language](https://golang.org/dl/), version 1.12 and above. +The only requirement is the [Go Programming Language](https://golang.org/dl/), version 1.13 and above. ```sh +$ cd $YOUR_PROJECT_PATH $ export GO111MODULE=on -$ go get github.com/kataras/iris@v11.2.8 ``` -Or inside your `go.mod` file: +## Install + +```sh +$ go get github.com/kataras/iris@master +``` + +Or edit your project's `go.mod` file, add the following [pseudo-version](https://golang.org/cmd/go/#hdr-Pseudo_versions) and execute `$ go build`. ```sh module your_project_name -go 1.12 +go 1.13 require ( - github.com/kataras/iris v11.2.8 + github.com/kataras/iris v0.0.0-20191005193354-55afd07befa8 ) ``` +> `$ go build` + ## How to update Here is the go-get command to get the latest and greatest Iris version. Master branch is usually stable enough. ```bash -$ go get github.com/kataras/iris@master +$ go get -u github.com/kataras/iris ``` Continue by reading our [[Getting Started]] tutorial.