'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:
Orhan Erday 2022-07-21 16:47:39 +03:00 committed by GitHub
parent b57163a0e4
commit a83577d2a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: