Update README.md

This commit is contained in:
Orhan Erday 2022-08-06 09:37:34 +03:00 committed by GitHub
parent a83577d2a9
commit 1d3c4b4e2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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. 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 >= 1.17
$ go install github.com/gin-gonic/gin@latest ```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: 2. Import it in your code: