lion

Results 6 comments of lion

请问有解决方案了吗

i want mock http , this package can support ? or use third-party dependencies

请问怎么破,现在遇到一样的问题

``` E Errors: * /Users/lion/gopath/src/gomonkey/test/apply_func_return_test.go Line 20: - permission denied goroutine 18 [running]: /Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40 /Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70 /Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc panic({0x100c09600, 0x100d521a8}) /Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8 github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400012c018, 0x18, 0x100c34d18?}) /Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8 github.com/agiledragon/gomonkey/v2.replace(0x100bfa900?,...

go test -v -run=^TestFn$ -gcflags=all=-l,in mac os m1 must add -gcflags=all=-l option

哪个版本开始,有了v2的功能