go.mod: yaml.v3 marked as indirect but directly imported #4
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
residual/config#4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
go.modlistsgopkg.in/yaml.v3 v3.0.1 // indirectbutcore/codec.godirectly importsgopkg.in/yaml.v3:All three codec imports (toml, yaml, json) are direct dependencies.
yaml.v3should not be marked// indirect.Fix
Run
go mod tidyto correct the dependency classification. Then verifygo.modshows yaml.v3 as a direct dependency (without// indirect).Verification