This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-site.git
The following commit(s) were added to refs/heads/master by this push:
new 03325f6 ARROW-14764: [Website] Add install instructions for Go module
03325f6 is described below
commit 03325f65ba137dfea1ba55fcc75596bdf198efc5
Author: Matthew Topol <[email protected]>
AuthorDate: Fri Nov 19 05:37:10 2021 +0900
ARROW-14764: [Website] Add install instructions for Go module
Closes #163 from zeroshade/install-go and squashes the following commits:
c34b0fff2 <Matthew Topol> change "package" to "module"
6baf19a9a <Matthew Topol> ARROW-14764: Add install instructions for Go
module
Authored-by: Matthew Topol <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
_data/versions.yml | 1 +
install.md | 14 ++++++++++++++
2 files changed, 15 insertions(+)
diff --git a/_data/versions.yml b/_data/versions.yml
index abe5c6f..fbb523a 100644
--- a/_data/versions.yml
+++ b/_data/versions.yml
@@ -18,6 +18,7 @@
current:
number: '6.0.1'
pinned_number: '6.0.*'
+ major_number: '6'
date: '18 November 2021'
git-tag: '347a88ff9d20e2a4061eec0b455b8ea1aa8335dc'
github-tag-link:
'https://github.com/apache/arrow/releases/tag/apache-arrow-6.0.1'
diff --git a/install.md b/install.md
index 62ece0f..4e79322 100644
--- a/install.md
+++ b/install.md
@@ -57,6 +57,20 @@ in `requirements.txt` to install the latest patch release.
These include the Apache Arrow and Apache Parquet C++ binary libraries bundled
with the wheel.
+### Go Module
+
+The Go Module is tagged with its version and can be easily installed with `go
get`:
+
+```shell
+go get
github.com/apache/arrow/go/v{{site.data.versions['current'].major_number}}@v{{site.data.versions['current'].number}}
+```
+
+The Apache Arrow module can then be imported using:
+
+```go
+import
"github.com/apache/arrow/go/v{{site.data.version['current'].major_number}}/arrow"
+```
+
### C++ and GLib (C) Packages for Debian GNU/Linux, Ubuntu, CentOS and Amazon
Linux
We have provided APT and Yum repositories for Apache Arrow C++ and