From 1d3c4b4e2c84021acd1f15576d610f19e950cb09 Mon Sep 17 00:00:00 2001 From: Orhan Erday <98099231+orhan-erday@users.noreply.github.com> Date: Sat, 6 Aug 2022 09:37:34 +0300 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3b79997d..be5b8686 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,14 @@ To install Gin package, you need to install Go and set your Go workspace first. 1. You first need [Go](https://golang.org/) installed (**version 1.15+ is required**), then you can use the below Go command to install Gin. -```sh -$ go install github.com/gin-gonic/gin@latest +go >= 1.17 +```shell +go install github.com/gin-gonic/gin@latest +``` + +go < 1.17 +```shell +go get github.com/gin-gonic/gin ``` 2. Import it in your code: