Skip to content

Consider retract for v2 lineage #585

@nelz9999

Description

@nelz9999

As of Go 1.16, there is now a retract directive in the module system.

From my quick-ish reading of things (https://go.dev/ref/mod#go-mod-file-retract), it seems that maybe the way to make end-users' lives a little easier is to publish a v2.0.1 with something like the following in the go.mod file:

retract (
    v2.0.0 // Published accidentally.
    v2.0.1 // Contains retractions only.
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions