cmd/go: module shows as "indirect" in go.mod after being fetched with go get as a direct dependency #61480
Labels
FrozenDueToAge
GoCommand
cmd/go
modules
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
YES
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
I expected that "github.com/inancgumus/screen" would appear as a direct dependency in the go.mod file.
What did you see instead?
After running the go get command, the following line appeared in the go.mod file:
require github.com/inancgumus/screen v0.0.0-20190314163918-06e984b86ed3 // indirect
However, after running go mod tidy, the "indirect" marking was removed.
Could you please advise if this is the expected behavior? If this is actually expected and is not a bug, I apologize for any misunderstanding. Thank you for your assistance.
The text was updated successfully, but these errors were encountered: