You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by yu...@apache.org on 2021/07/26 17:15:51 UTC
[thrift] branch master updated: Update README for go library
This is an automated email from the ASF dual-hosted git repository.
yuxuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
The following commit(s) were added to refs/heads/master by this push:
new 68c0272 Update README for go library
68c0272 is described below
commit 68c0272a0af55f8a50296f5fa3ba672c08937d98
Author: Yuxuan 'fishy' Wang <yu...@reddit.com>
AuthorDate: Mon Jul 26 08:59:01 2021 -0700
Update README for go library
Because we briefly had go.mod file under lib/go/thrift in e27e82c46b
(it was later removed in d9fcdd3dba), using
go get github.com/apache/thrift/lib/go/thrift/...
(as suggested by the current README) will get that particular version
instead of the latest released version. So update README to use
go get github.com/apache/thrift
instead.
Also instead of saying we support Go 1.7+, say we support the officially
supported Go releases, as that's our new support policy.
---
lib/go/README.md | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/lib/go/README.md b/lib/go/README.md
index 74e142b..bca4370 100644
--- a/lib/go/README.md
+++ b/lib/go/README.md
@@ -24,14 +24,12 @@ under the License.
Using Thrift with Go
====================
-Thrift supports Go 1.7+
+Thrift supports the currently officially supported Go releases (the latest 2).
-In following Go conventions, we recommend you use the 'go' tool to install
-Thrift for go.
+After initializing the go modules file in your project, use the following
+command to add the most recent version of the package:
- $ go get github.com/apache/thrift/lib/go/thrift/...
-
-Will retrieve and install the most recent version of the package.
+ $ go get github.com/apache/thrift
A note about optional fields