mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-16 13:22:09 +08:00
'go get' is no longer supported outside a module.
'go get' is no longer supported outside a module. therefore I changed `go get` to `go install`
This commit is contained in:
parent
b57163a0e4
commit
a83577d2a9
@ -89,7 +89,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.
|
||||
|
||||
```sh
|
||||
$ go get -u github.com/gin-gonic/gin
|
||||
$ go install github.com/gin-gonic/gin@latest
|
||||
```
|
||||
|
||||
2. Import it in your code:
|
||||
|
Loading…
x
Reference in New Issue
Block a user