gocover-cobertura
gocover-cobertura copied to clipboard
go get github.com/t-yuki/gocover-cobertura unexpectedly downgrades/removes dependencies
For some reason deps are downgraded or removed.
Why?
Workaround: use go install
rather than go get
, which is (i hope) guaranteed to not overwrite go.mod/go.sum
The disadvantage is you have to add @latest and it doesn't look at your existing go.mod to get version hints for what version you want.
go install github.com/t-yuki/gocover-cobertura@latest
$GOPATH/bin/gocover-cobertura < coverage.txt > coverage.xml