Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Help wanted]How to locate dependency using go module? #39399

Closed
fwhezfwhez opened this issue Jun 4, 2020 · 2 comments
Closed

[Help wanted]How to locate dependency using go module? #39399

fwhezfwhez opened this issue Jun 4, 2020 · 2 comments

Comments

@fwhezfwhez
Copy link

@fwhezfwhez fwhezfwhez commented Jun 4, 2020

After execute go mod tidy, a dependency github.com/klauspost/reedsolomon is download and put into go.sum,but my project actually not import it. Some of my import packages might inner import github.com/klauspost/reedsolomon.

So, how can I know which package I import has imported github.com/klauspost/reedsolomon

@davecheney
Copy link
Contributor

@davecheney davecheney commented Jun 4, 2020

You can use go mod graph to print out the dependency graph of module imports. Use go help mod graph for an explanation of the output.

Unlike many projects on GitHub, the Go project does not use its bug tracker for general discussion or asking questions. We only use our bug tracker for tracking bugs and tracking proposals going through the Proposal Process.
Please see https://golang.org/wiki/Questions for good places to ask questions.

@davecheney davecheney closed this Jun 4, 2020
@fwhezfwhez
Copy link
Author

@fwhezfwhez fwhezfwhez commented Jun 4, 2020

3q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.