mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-17 05:42:09 +08:00
Update README.md
This commit is contained in:
parent
a83577d2a9
commit
1d3c4b4e2c
10
README.md
10
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user