-
**What happened**:
When there is only one vcjob under a queue, after deleting the vcjob, it will be found that the metric data in the proportion is inaccurate
**What you expected to happen**:
M…
-
例如:
```go
patches := ApplyFuncSeq(cmdutil.RunCmd, []OutputCell{
{Values: Params{"123", nil}, ParamCheck: Params{123}},
{Values: Params{"", ErrTestExcept}, ParamCheck: Params{-1}}…
-
hello, has any plan for 1.18 support?
-
I have implemented **monkey_arm64.go** jmpToFunctionValue. Now trying to compile and execute my code on a Mac M1.
I am getting an exception when making a call to syscall.Mprotect (**syscall.PROT_WRIT…
-
I want to run it on my apple m1,but it can not work.
-
1. [goconvey](https://github.com/smartystreets/goconvey)
2. [testify](https://github.com/stretchr/testify)
reference:
[vs](https://knapsackpro.com/testing_frameworks/difference_between/goconvey/v…
-
想做个能记录mockFn被调用多少次以及每次调用入参的工具函数,源码如下:
``` go
type Recorder struct {
history [][]reflect.Value
m *gomonkey.Patches
}
func (r *Recorder) Times() int {
return len(r.history)
}
func …
-
- platform: mac intel
- go verison: go1.16.5 darwin/amd64
- gomonkey version: v2.3.0
- problem: go test apply_private_method_test.go failed
- successed code:
```
package unit
import (
"…
-
比如如下方法
```
package student
var Student = student{}
type student struct {}
func (s student) GetName() {
return "zhangsan"
}
```
-
https://draveness.me/golang-101