agiledragon / gomonkey

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

support PrivateMethodPatch on go1.17, go1.18 #85

Closed hengwu0 closed 2 years ago

hengwu0 commented 2 years ago

Now, we can patch any private methods on any go versions with supported arch, enjoy.

hengwu0 commented 2 years ago

fixed https://github.com/agiledragon/gomonkey/issues/84.