-
### Checklist
- [X] I've searched for similar issues and couldn't find anything matching
- [X] I've discussed this feature request in the [OpenIMSDK Slack](https://join.slack.com/t/openimsdk/shared_i…
-
gomockey `undefined: buildJmpDirective` relative issue has been solved, FYI:
https://github.com/agiledragon/gomonkey/issues/38
https://github.com/agiledragon/gomonkey/pull/55
**What happened**:
…
-
## Bug Report
Please answer these questions before submitting your issue. Thanks!
### 1. Minimal reproduce step (Required)
```
macbook-m1:compile chai$ go env GOOS GOARCH
darwin
arm64
…
-
```go
func TestMethodMock(t *testing.T) {
myStruct := &MyStruct{
name: "my struct",
}
otherStruct := &MyStruct{
name: "other struct",
}
mock.Mock(myStruct.name, func(ctx context.Conte…
WAY29 updated
4 months ago
-
# github.com/agiledragon/gomonkey/v2
../../../../../../../pkg/mod/github.com/agiledragon/gomonkey/v2@v2.10.0/jmp_loong64.go:20:6: buildJmpDirective redeclared in this block
previous declaration at …
-
执行热修复之后调用符合期望,但是多次(我这里测试大概2000次调用)进行调用就会开始报异常
下面是我的测试代码,在执行代码之前就进行修复(确保不存在多线程补丁问题)
main.go
```go
package main
import (
"fmt"
"io"
"net/http"
"os"
"time"
hotfix "github.com/lsg…
-
Setting project to go 1.21 then running `go get -u all` we encounter breakage with pegasus and mergo
Updating `mergo` was fixed with these commands:
```
go mod edit -replace "github.com/imdario…
-
```
/go/pkg/mod/github.com/agiledragon/gomonkey/v2@v2.9.0/patch.go:265:10: undefined: buildJmpDirective
```
龙芯 loongarch64 架构编译报错,缺少 `jmp_loong64.go` 适配文件
-
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
-
Running the analyzer in a go.mod with this specific dependency
```
github.com/blend/go-sdk v2.0.0+incompatible
```
makes ort crashes.
Further investigation showed that is because the dependency f…
qequ updated
9 months ago