You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hope to obtain the dependency tree of the go project using the go mod graph command. You can see some direct dependencies output by this command compared to the information in go.mod. Some of the dependencies in go.mod that have//direct annotations are considered direct dependencies in the output information of the go mod graph command
What did you see happen?
Some indirect dependencies in the go.mod file are considered direct dependencies after the output of the go mod graph
What did you expect to see?
At present, the go mod graph command cannot accurately display the dependency tree
The text was updated successfully, but these errors were encountered:
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
seankhliao
changed the title
The recognition of indirect dependency errors in the dependency tree output by the go mod graph command as direct dependencies
cmd/go: direct dependencies may be marked indirect
Nov 29, 2024
Go version
go 1.23.2
Output of
go env
in your module/workspace:What did you do?
I hope to obtain the dependency tree of the go project using the go mod graph command. You can see some direct dependencies output by this command compared to the information in go.mod. Some of the dependencies in go.mod that have//direct annotations are considered direct dependencies in the output information of the go mod graph command
What did you see happen?
Some indirect dependencies in the go.mod file are considered direct dependencies after the output of the go mod graph
What did you expect to see?
At present, the go mod graph command cannot accurately display the dependency tree
The text was updated successfully, but these errors were encountered: