mirror of
https://github.com/gin-gonic/gin.git
synced 2026-06-07 04:38:19 +08:00
Merge ca2901418305ba0731f823203fa8d824a7a4b0d9 into d5b353c5d5a560322e6d96121c814115562501f7
This commit is contained in:
commit
03d1d2f298
@ -97,12 +97,6 @@ BenchmarkZeus_GithubAll | 2000 | 944234 | 300688 | 2648
|
|||||||
import "gopkg.in/gin-gonic/gin.v1"
|
import "gopkg.in/gin-gonic/gin.v1"
|
||||||
```
|
```
|
||||||
|
|
||||||
3. (Optional) Import `net/http`. This is required for example if using constants such as `http.StatusOK`.
|
|
||||||
|
|
||||||
```go
|
|
||||||
import "net/http"
|
|
||||||
```
|
|
||||||
|
|
||||||
## API Examples
|
## API Examples
|
||||||
|
|
||||||
#### Using GET, POST, PUT, PATCH, DELETE and OPTIONS
|
#### Using GET, POST, PUT, PATCH, DELETE and OPTIONS
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user