Added note for net/http import and fixed numbering in readme

This commit is contained in:
Roman Belyakovsky 2016-02-24 17:02:40 +03:00
parent b3878c2465
commit 8b649abbf5

View File

@ -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