Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cuonglm committed Aug 17, 2016
1 parent fa98417 commit 35fbb84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ go get -u github.com/Gnouc/gogi
#Usage

## As library
```sh
```go
import (
"fmt"
"io/ioutil"
Expand All @@ -26,7 +26,7 @@ import (
)

func main() {
gogiClient := gogi.NewHTTPClient(nil)
gogiClient, _ := gogi.NewHTTPClient()
resp, _ := gogiClient.List()
body, err := ioutil.ReadAll(resp.Body)
if body != nil {
Expand Down

0 comments on commit 35fbb84

Please sign in to comment.