mirror of https://github.com/gin-gonic/gin.git
Merge branch 'hryamzik-develop' into develop
This commit is contained in:
commit
68b8b498bd
|
@ -88,12 +88,19 @@ BenchmarkZeus_GithubAll | 2000 | 944234 | 300688 | 2648
|
|||
```sh
|
||||
$ go get github.com/gin-gonic/gin
|
||||
```
|
||||
|
||||
2. Import it in your code:
|
||||
|
||||
```go
|
||||
import "github.com/gin-gonic/gin"
|
||||
```
|
||||
|
||||
3. (Optional) Import `net/http`. This is required for example if using constants such as `http.StatusOK`.
|
||||
|
||||
```go
|
||||
import "net/http"
|
||||
```
|
||||
|
||||
##API Examples
|
||||
|
||||
#### Using GET, POST, PUT, PATCH, DELETE and OPTIONS
|
||||
|
|
Loading…
Reference in New Issue