mirror of
https://github.com/gin-gonic/gin.git
synced 2026-01-08 15:27:04 +08:00
Update README.md
changed the outdated CLI command for downloading the package
This commit is contained in:
parent
78dad9d77d
commit
0525702311
@ -90,7 +90,7 @@ 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
|
```sh
|
||||||
go get -u github.com/gin-gonic/gin
|
go install github.com/gin-gonic/gin@latest
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Import it in your code:
|
2. Import it in your code:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user