8000 [feature] go mod dependency tree · Issue #129 · dyweb/gommon · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

[feature] go mod dependency tree #129

Open

Description

@hebingchang
No description provided.

Activity

  1. at15 commented on Apr 4, 2020

    @at15
    Member

    @hebingchang can you put more detail and tools you have tried .w.

  2. at15 commented on Apr 4, 2020

    @at15
    Member

    Actually you can use golist with template https://dave.cheney.net/2014/09/14/go-list-your-swiss-army-knife

    go list -f '{{ join .Deps "\n"}}' .

  3. hebingchang commented on Apr 4, 2020

    @hebingchang
    MemberAuthor
  4. at15 commented on Aug 6, 2020

    @at15
    Member

    Also you can use the command go mod why -m github.com/foo/boar and it will prints the import order

    $ go mod why -m github.com/pingcap/tipb
    # github.com/pingcap/tipb
    github.com/at15/gegecece/impl/gce4-go/parser/pingcap
    github.com/pingcap/parser
    github.com/pingcap/parser/model
    github.com/pingcap/tipb/go-tipb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0