Skip to content

cannot find modules in test binaries #10

@jeffallen

Description

@jeffallen

I don't know if this is due to the way GO111MODULE=on go build works, but when I run version.ReadExe(os.Args[0]) from inside of a Go test, I do not get a module list. It does find the Version.Release, but Version.ModuleInfo is empty.

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