-
官方例子:TestApplyPrivate,运行结果,报错:
```
GOROOT=/usr/local/go #gosetup
GOPATH=/Users/devinzeng/go #gosetup
/usr/local/go/bin/go test -c -o /private/var/folders/h9/2yls4kmx2dj6v1fh2nlkfgww0000gn/T/GoLand…
-
**What happened**:
`make test` failed:
```
=== RUN Test_GroupClustersWithScore
--- FAIL: Test_GroupClustersWithScore (0.00s)
panic: permission denied [recovered]
panic: permission deni…
-
the method
```golang
import (
"fmt"
remote "github.com/shima-park/agollo/viper-remote"
"github.com/spf13/viper"
)
var configType = "prop"
func fetchApollo(ip, namespace string, conf…
ldmzw updated
2 years ago
-
`err := mprotectCrossPage(target, len(bytes), syscall.PROT_READ|syscall.PROT_WRITE|syscall.PROT_EXEC)
if err != nil {
panic(err)
}`
这里会panic,permission denied
os: MacBook Pro (13-inch, M…
-
Take a look at the following code
```go
type Repo struct {}
func (r *Repo) A() error { return errors.New("A") }
func (r *Repo) B() error { return errors.New("B") }
type Biz struct {
rep…
-
一般的,根据单测mock打桩有效规则,我们强调声明了桩却未使用很可能导致测试程序正常执行却不符合期望,示例:
`module_a.go`
```go
package moduleA
func FuncA() error {
return nil
}
func FuncB() error {
return nil
}
func FuncC() er…
-
Hi Team,
I am working with fluid on the Linux/ARM64 platform.
I can see that the docker images are only available for the Linux/AMD64 platform here: < https://hub.docker.com/u/fluidcloudnativ…
-
Use skywalking-eyes to check the dependency license. Some unrecognized licenses may be caused by specification problems. You need to manually check the license.
Dependency …
-
hi, i hit a problem:the assert is failed if the sql sentence is related with "ws_hot_status = ?", but pass when "ws_hot_status = 1"
func TestGetFeedidList_ReturnLimitData(t *testing.T) {
db…
-