Skip to content

Feature Request: Consider go.mod while finding file like the vgo do #16

@tonyseek

Description

@tonyseek

Since vgo was introduced, Go projects could create a go.mod file to allow the module be compiled and tested outside GOPATH. But gocover-cobertura finds files from GOPATH while generating the coverage details.

Would gocover-cobertura add support to the go.mod protocol like vgo? When a go.mod is found, the module github.com/foo/bar will be extracted, and the working directory will be used for generating coverage report instead of $GOPATH/src/github.com/foo/bar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions