h2non / gock

HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
https://pkg.go.dev/github.com/h2non/gock
MIT License
2.04k stars 106 forks source link

update readme examples with correct import #103

Closed mindofmar closed 1 year ago

mindofmar commented 1 year ago

The readme examples are not up-to-date with the docs. I spent half an hour trying to figure out this error thinking it was an issue with my GOPATH.

Here's the error I was receiving while trying to install gock: image

mindofmar commented 1 year ago

@h2non

h2non commented 1 year ago

Package is migrating to github.com/h2non/gock. go.mod was recently updated.