Added note for net/http import and fixed numbering in readme
This commit is contained in:
parent
b3878c2465
commit
8b649abbf5
@ -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. Import net/http if required:
|
||||
|
||||
```go
|
||||
import "net/http"
|
||||
```
|
||||
|
||||
##API Examples
|
||||
|
||||
#### Using GET, POST, PUT, PATCH, DELETE and OPTIONS
|
||||
|
Loading…
Reference in New Issue
Block a user