qax-os / goreporter

A Golang tool that does static analysis, unit testing, code review and generate code quality report.
Apache License 2.0
3.13k stars 273 forks source link

不支持go.mod吗? #87

Open Gera-coder opened 3 years ago

Gera-coder commented 3 years ago

go.mod项目运行的时候会提示一堆库找不到

lhlyu commented 3 years ago

@Gera-coder 我改造成了 go mod , 仓库

ADkun commented 3 years ago

@lhlyu 虽然安装该项目包的时候解决了go mod的问题,但是在运行goreporter -p projectpath -r projectpath时, Unitest会提示 E0906 12700 depend.go:84] failed to import projectpath: package vendor/D/anydream-ocean/src is not in GOROOT 之后跟一堆 package xxx is not in GOROOT

lhlyu commented 3 years ago

@ADkun 可以截一份图吗,我想看看具体缺少了什么,晚点我解决一下

wgliang commented 3 years ago

@lhlyu 大佬好,感谢🙏能够解决问题~工作事情比较多,实在抽不出时间

dingqinghui commented 1 year ago

failed to import projectpath: package vendor/D/anydream-ocean/src is not in GOROOT 之后跟一堆 package xxx is not in GOROOT

这个问题怎么解决的