Skip to content

GoMod: Missing (transitive) dependencies of dependencies without a 'go.mod' #10103

Open
@fviernau

Description

@fviernau

GoMod.kt constructs the dependency tree based on the module graph obtained via go mod graph.
It turned out that the module graph only contains edges defined in any go.mod file of any transitive dependency [1]. So, there are no edges for the dependencies of any module without a go.mod file.

The problem is reproduced by a functional test added by [2].

[1] golang/go#50656 (comment)
[2] #10102

Metadata

Metadata

Assignees

No one assigned

    Labels

    analyzerAbout the analyzer tool

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions