Re: [go-nuts] Shell alias to get latest go versions?

2020-01-14 Thread Paul Jolly
I think you're after something like (for your OS/arch): wget https://dl.google.com/go/$(curl -s https://golang.org/dl/?mode=json | jq -r .[0].version).linux-amd64.tar.gz The JSON mode of the download page being the key here. On Tue, 14 Jan 2020 at 09:22, Steve Mynott wrote: > > Does anyone

[go-nuts] Shell alias to get latest go versions?

2020-01-14 Thread Steve Mynott
Does anyone have a simple shell alias, function or similar to get the latest released versions of go? Is there a cleaner way of going this than screen scraping the website or looking at tags in git? -- Steve Mynott cv25519/ECF8B611205B447E091246AF959E3D6197190DD5 -- You received this message