Skip to content

proposal: go mod: Ability to specify exact tag or commit #73104

@pjebs

Description

@pjebs

Proposal Details

https://go.dev/doc/modules/gomod-ref#require

require

Declares a module as a dependency of the current module, specifying the minimum version of the module required.

It would be very helpful if we could specify that a module uses an EXACT tag or commit hash instead of implicitly specifying the minimum version up to the next major version.

Exclude directives are too limiting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeProposalToolProposalIssues describing a requested change to a Go tool or command-line program.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions