go/cmd
Diego Medina 126df1d64a cmd/getgo: determine current version via /dl/?mode=json API
The getgo tool was using the golang.org version as the latest
version to fetch. But this is not always the latest version.

We now use https://golang.org/dl/?mode=json which is the
official latest version.

Fixes golang/go#42676

Change-Id: I1cd90bfba12b19759599e89b7b4a095700999c09
Reviewed-on: https://go-review.googlesource.com/c/tools/+/270878
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Alexander Rakoczy <alex@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
2021-06-07 15:22:48 +00:00
..
auth all: replace all usages of os/exec with golang.org/x/sys/execabs 2021-01-19 22:25:03 +00:00
benchcmp all: add copyright notices to files that are missing them 2021-01-06 17:23:47 +00:00
bundle all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
callgraph all: go fmt ./... 2021-02-20 03:28:52 +00:00
compilebench all: replace all usages of os/exec with golang.org/x/sys/execabs 2021-01-19 22:25:03 +00:00
cover all: go fmt ./... 2021-02-20 03:28:52 +00:00
digraph all: fix some staticcheck errors 2020-01-29 04:53:41 +00:00
eg cmd/eg: don't do rewrites within the template file itself 2021-02-27 20:30:37 +00:00
fiximports all: go fmt ./... 2021-02-20 03:28:52 +00:00
getgo cmd/getgo: determine current version via /dl/?mode=json API 2021-06-07 15:22:48 +00:00
go-contrib-init all: replace all usages of os/exec with golang.org/x/sys/execabs 2021-01-19 22:25:03 +00:00
godex all: go fmt ./... 2021-02-20 03:28:52 +00:00
godoc godoc/static: link to golang.org for content moved out of Go root 2021-03-30 17:48:30 +00:00
goimports all: go fmt ./... 2021-02-20 03:28:52 +00:00
gomvpkg copyright: test that all files in the repo have copyright notices 2021-01-11 22:19:46 +00:00
gorename all: add copyright notices to files that are missing them 2021-01-06 17:23:47 +00:00
gotype all: go fmt ./... 2021-02-20 03:28:52 +00:00
goyacc cmd/goyacc: double ACTSIZE, NSTATE and TEMPSTATE 2021-01-04 08:10:19 +00:00
guru cmd/guru: update referrers-json testdata to reflect new line numbering 2021-04-26 20:11:56 +00:00
html2article copyright: test that all files in the repo have copyright notices 2021-01-11 22:19:46 +00:00
present playground: remove /share registration, add Proxy 2021-02-25 15:03:53 +00:00
present2md cmd/present2md: allow comments to be retained in translated document 2021-03-19 17:27:47 +00:00
splitdwarf all: go fmt ./... 2021-02-20 03:28:52 +00:00
ssadump go/ssa/ssautil: add AllPackages method 2018-10-15 18:41:29 +00:00
stress all: go fmt ./... 2021-02-20 03:28:52 +00:00
stringer all: go fmt ./... 2021-02-20 03:28:52 +00:00
toolstash all: replace all usages of os/exec with golang.org/x/sys/execabs 2021-01-19 22:25:03 +00:00