I noticed some inconsistencies in the README. The installation specifies gopkg.in/h2non/gock.v1 but the examples had gopkg.in/h2non/gock.v0. And the JSON body matching example doesn't work as the function should be MatchType("json") not Type("json").
Update the version of gock in examples from v0 to v1
Change Type() to MatchType() in README @ JSON body matching example
Let me know if missed anything or if you have any suggestions. Thank you 👍
I noticed some inconsistencies in the README. The installation specifies
gopkg.in/h2non/gock.v1
but the examples hadgopkg.in/h2non/gock.v0
. And the JSON body matching example doesn't work as the function should beMatchType("json")
notType("json")
.Let me know if missed anything or if you have any suggestions. Thank you 👍