Skip to content

Commit

Permalink
readme sample code and go mod update
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevatkm committed Mar 13, 2019
1 parent 9d4440d commit 46fc51a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ import "github.com/go-resty/resty"

```go
// Create a Resty Client
client := New()
client := resty.New()

// Fire GET request
resp, err := client.R().EnableTrace().Get("https://httpbin.org/get")
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/go-resty/resty

require golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3
require golang.org/x/net v0.0.0-20190311183353-d8887717615a

0 comments on commit 46fc51a

Please sign in to comment.