From a62b40c3dfbbc109ca9f6cbe4edc47abb7394f88 Mon Sep 17 00:00:00 2001 From: Yuxuan 'fishy' Wang Date: Sat, 16 Oct 2021 15:12:16 -0700 Subject: [PATCH] THRIFT-5472: Retract bad go module version under lib/go/thrift Currently when people going to https://pkg.go.dev/github.com/apache/thrift@v0.15.0/lib/go/thrift it shows that a previous version with lib/go/thrift/go.mod file is the latest version. With solution provided in https://github.com/golang/go/issues/49015#issuecomment-944993211, this commit will NOT be merged, but tagged as `lib/go/thrift/v0.0.1-do-not-use`, in order to retract the bad version and make `v0.15.0` and the future versions as the correct latest version recognized by go toolchain. [skip ci] --- lib/go/thrift/go.mod | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 lib/go/thrift/go.mod diff --git a/lib/go/thrift/go.mod b/lib/go/thrift/go.mod new file mode 100644 index 00000000000..e4eea82e04a --- /dev/null +++ b/lib/go/thrift/go.mod @@ -0,0 +1,6 @@ +module github.com/apache/thrift/lib/go/thrift + +go 1.17 + +// See https://github.com/apache/thrift/releases/tag/lib%2Fgo%2Fthrift%2Fv0.0.1-do-not-use +retract [v0.0.0-00000000000000-000000000000, v0.0.1-do-not-use]