-
target type(
func(*serverless.realServerlessControl, context.Context, string) error)
and double type(
func(*serverless.ServerlessControlInterface, context.Context, string) error) are different
其…
-
Hello!
I am not able to test a function that uses the ForEachMaster method.
The error returned is "redis: cluster has no nodes" and i cannot add nodes to the redis.ClusterClient created by NewClus…
-
-
电脑os:mac m1
go版本:go1.17.9
goland版本:2021.3.4 apple silicon
go env如下:
GO111MODULE="on"
GOARCH="arm64"
GOBIN=""
GOCACHE="/Users/xxx/Library/Caches/go-build"
GOENV="/Users/xxx/Library/Applicatio…
-
my environment:
- mac Os 10.14.6
- golang 1.14.2
- gomonkey 2.0.2
- beego framework
As my title description, it work well until i encountered the method :
```go
func (c *Controller) Serve…
-
springboot校验RequestBody, RequestBody中的字段只允许一个字段为空
-
Hi @kilianc , I see in your last commit, you dropped the gomonkey dependency. Is there any specific reason you don't want to use it?
-
When running tests, panic would happen.
That's a famous issue caused by gomonkey, does anyone here encounter?
-
Like this:
panic: double seq is less than call seq [recovered]
panic: double seq is less than call seq
-
func methodA(){
...
go methodB()
....
}
gomonkey.ApplyFunctionReturn(methodB) linux环境下,不生效