From b3b66939c8ffc0d72de36721e97b7875dc265169 Mon Sep 17 00:00:00 2001 From: Felix Frank Date: Sun, 8 Sep 2024 16:03:00 +0200 Subject: [PATCH] go.mod: Clarify retractions Add a comment to go.mod that is placed according to the go.mod specification to give some background to the retraction of older releases. Also make the text more clear to explain what happened. The 2.0.0 version is removed from the list, as it was leading to an error e.g. from go mod tidy: go.mod:24:2: retract github.com/tredoe/osutil: version "v2.0.0" invalid: should be v0 or v1, not v2 --- go.mod | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 6d69395..158e8aa 100644 --- a/go.mod +++ b/go.mod @@ -2,8 +2,6 @@ module github.com/tredoe/osutil go 1.16 -// Breaking changes -// curl proxy.golang.org/github.com/tredoe/osutil/@v/list |sort -V retract ( v1.1.0 v1.1.1 @@ -23,5 +21,4 @@ retract ( v1.3.4 v1.3.5 v1.3.6 - v2.0.0 -) +) // older releases are no longer installable, as they depended on another module that no longer exists