Hello gophers, based on the previous work by bouk (the monkey patching library creator), we recently released a new mocking library.
Here is a glance:
In contrast to monkey, which uses assembly heavily, xgo rewrites IR on the fly, which brings much more stability and compatibility.
Anyone who is using mock, please let us discuss togther! Thanks.