Update go get for stable version

In the future, github default branch will be develop so running `go get github.com/gin-gonic/gin` will pull latest code from develop.
This commit is contained in:
Javier Provecho Fernandez 2016-10-12 16:51:06 +02:00 committed by GitHub
parent f90cc43045
commit 3900df04d2
1 changed files with 2 additions and 2 deletions

View File

@ -88,13 +88,13 @@ BenchmarkZeus_GithubAll | 2000 | 944234 | 300688 | 2648
1. Download and install it: 1. Download and install it:
```sh ```sh
$ go get github.com/gin-gonic/gin $ go get gopkg.in/gin-gonic/gin.v1
``` ```
2. Import it in your code: 2. Import it in your code:
```go ```go
import "github.com/gin-gonic/gin" import "gopkg.in/gin-gonic/gin.v1"
``` ```
3. (Optional) Import `net/http`. This is required for example if using constants such as `http.StatusOK`. 3. (Optional) Import `net/http`. This is required for example if using constants such as `http.StatusOK`.