agiledragon / gomonkey

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

in docker of Mac M1, buildJmpDirective #126

Closed lougxing closed 1 year ago

lougxing commented 1 year ago

I set github.com/agiledragon/gomonkey/v2. v2.9.0 in go.mod, but after go mod tidy, renew gomonkey@v2.0.1+incompatible。

the error still: github.com/agiledragon/gomonkey@v2.0.1+incompatible/patch.go:160:10: undefined: buildJmpDirective