gocov icon indicating copy to clipboard operation
gocov copied to clipboard

the code source default is $GOROOT. whether the code source path can be specified by the user when using gocov convert?

Open RunningSnail999 opened this issue 3 years ago • 3 comments

RunningSnail999 avatar Jun 07 '22 12:06 RunningSnail999

@RunningSnail999 what's the use case? Are you running the tests on one machine, and converting the output on another machine?

axw avatar Jun 08 '22 04:06 axw

@RunningSnail999 what's the use case? Are you running the tests on one machine, and converting the output on another machine?

yes,converting the output on another machine and then I get error: error: can't find "xxx.go": cannot find package "xx/xxxx/xx/app/rest" in any of: /root/.go/src/xx/xxxx/xx/app/rest (from $GOROOT) /root/go/src/xx/xxxx/xx/app/rest (from $GOPATH)

caifutong avatar Jun 01 '23 02:06 caifutong

@caifutong understood. There's no way to do this at the moment. If you would like to contribute an enhancement, I will review it when I have some spare time.

axw avatar Jun 05 '23 23:06 axw