mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-16 21:32:11 +08:00
Remove the optional step for the net/http import
This commit is contained in:
parent
3900df04d2
commit
ca29014183
@ -97,12 +97,6 @@ BenchmarkZeus_GithubAll | 2000 | 944234 | 300688 | 2648
|
||||
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
|
||||
|
||||
#### Using GET, POST, PUT, PATCH, DELETE and OPTIONS
|
||||
|
Loading…
x
Reference in New Issue
Block a user