summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
Diffstat (limited to 'development')
-rw-r--r--development/golang-googlecode-gotools/README13
-rw-r--r--development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild1
2 files changed, 14 insertions, 0 deletions
diff --git a/development/golang-googlecode-gotools/README b/development/golang-googlecode-gotools/README
index 555d3340ec..d7b9147003 100644
--- a/development/golang-googlecode-gotools/README
+++ b/development/golang-googlecode-gotools/README
@@ -6,3 +6,16 @@ language. Like godoc, a code vetting analysis utility and others.
This also provides the import path of code.google.com/p/go.tools for
the Go programming language. These libraries are source only. To
compile using the libraries, include "/usr/share/gocode" in your GOPATH
+
+This package currently builds a historic version of tools from when they were
+removed from the core golang repo.
+
+Users may wish to install updated commands, like:
+```
+go get -u golang.org/x/tools/godoc
+```
+
+or in future golang versions (>= go1.17):
+```
+go install golang.org/x/tools/gopls@latest
+```
diff --git a/development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild b/development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild
index 805a9ed1e8..e2459704f4 100644
--- a/development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild
+++ b/development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild
@@ -90,6 +90,7 @@ cp -a . ${PKG}/usr/share/gocode/src/${IMPORT_PATH}
export GOPATH=${PKG}/usr/share/gocode:/usr/share/gocode
export GOBIN=${PKG}/usr/bin
+export GO111MODULE="off"
for cmd in godoc cover vet oracle gotype html2article ; do
cd ./cmd/${cmd}/
go build -a -x -o ${GOBIN}/${cmd} .