summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuxuan 'fishy' Wang <yuxuan.wang@reddit.com>2021-07-26 08:59:01 -0700
committerYuxuan 'fishy' Wang <fishywang@gmail.com>2021-07-26 10:15:42 -0700
commit68c0272a0af55f8a50296f5fa3ba672c08937d98 (patch)
treec45ef1aa4dc9929961eaceaf80ad085a20a97c7e
parent47bf0e46e72b3f4d64ed13c8a03a878df17ab046 (diff)
downloadthrift-68c0272a0af55f8a50296f5fa3ba672c08937d98.tar.gz
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.
-rw-r--r--lib/go/README.md10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/go/README.md b/lib/go/README.md
index 74e142b0f..bca43706f 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