agiledragon / gomonkey

gomonkey is a library to make monkey patching in unit tests easy
MIT License
1.92k stars 178 forks source link

example or document #128

Closed someview closed 1 year ago

someview commented 1 year ago

Is there some example or document. I don't konw how to use it for some issue.eg: version 2.2,how to mock method applyandreturn

agiledragon commented 1 year ago

https://github.com/agiledragon/gomonkey/tree/master/test