Skip to content

Commit

Permalink
Update doc to use ResolveURL
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcnunes committed Jul 18, 2017
1 parent 117247c commit 15adf93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fakeService.NewHandler().
BodyString(`[{"username": "dreamer"}]`)

// run a real http request to that server
res, err := http.Get(fmt.Sprintf("%s/users", fakeService.Server.URL))
res, err := http.Get(fakeService.ResolveURL("/users"))
```

## Reference
Expand Down

0 comments on commit 15adf93

Please sign in to comment.