From a08bb9ba070acda213584f1d8d841deb4e529a00 Mon Sep 17 00:00:00 2001 From: Dylan Date: Mon, 7 Jan 2019 13:41:38 -0600 Subject: [PATCH 1/2] remove go.mod and add notes to README.md indicating opt-out for Go 1.11 Modules --- README.md | 4 ++++ go.mod | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) delete mode 100644 go.mod diff --git a/README.md b/README.md index 1a381da..eb97d7a 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,10 @@ Due to subtests not being supported in older versions of Go, this package is only regularly tested against Go 1.7+. This package may work perfectly fine with Go 1.2+, but support for these older versions is not actively maintained. +## Go 1.11 Modules + +At this time, this repository does not opt in to the experimental Go modules feature. Users who took a dependency on v3.1.1+ (where we _did_ temporarily enable support for modules) will need to modify their import paths to no longer use the `github.com/gofrs/uuid/v3` Semantic Import Version path. Please refer to [Issue #61](https://github.com/gofrs/uuid/issues/61) and [Issue #66](https://github.com/gofrs/uuid/issues/66) for more details. + ## Usage Here is a quick overview of how to use this package. For more detailed diff --git a/go.mod b/go.mod deleted file mode 100644 index 1fd8177..0000000 --- a/go.mod +++ /dev/null @@ -1 +0,0 @@ -module github.com/gofrs/uuid/v3 From 2d35c48db85165300c84b48013098440e813bab2 Mon Sep 17 00:00:00 2001 From: Dylan Date: Mon, 7 Jan 2019 16:08:02 -0600 Subject: [PATCH 2/2] revised verbiage in README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index eb97d7a..efc3204 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,11 @@ Go 1.2+, but support for these older versions is not actively maintained. ## Go 1.11 Modules -At this time, this repository does not opt in to the experimental Go modules feature. Users who took a dependency on v3.1.1+ (where we _did_ temporarily enable support for modules) will need to modify their import paths to no longer use the `github.com/gofrs/uuid/v3` Semantic Import Version path. Please refer to [Issue #61](https://github.com/gofrs/uuid/issues/61) and [Issue #66](https://github.com/gofrs/uuid/issues/66) for more details. +As of v3.2.0, this repository no longer adopts Go modules, and v3.2.0 no longer has a `go.mod` file. As a result, v3.2.0 also drops support for the `github.com/gofrs/uuid/v3` import path. Only module-based consumers are impacted. With the v3.2.0 release, _all_ gofrs/uuid consumers should use the `github.com/gofrs/uuid` import path. + +An existing module-based consumer will continue to be able to build using the `github.com/gofrs/uuid/v3` import path using any valid consumer `go.mod` that worked prior to the publishing of v3.2.0, but any module-based consumer should start using the `github.com/gofrs/uuid` import path when possible and _must_ use the `github.com/gofrs/uuid` import path prior to upgrading to v3.2.0. + +Please refer to [Issue #61](https://github.com/gofrs/uuid/issues/61) and [Issue #66](https://github.com/gofrs/uuid/issues/66) for more details. ## Usage