No description
- Go 92.7%
- Nix 7.3%
|
|
||
|---|---|---|
| .envrc | check for GOVER_FETCH_MISSING=Yes in the users ENV | |
| .gitignore | check for GOVER_FETCH_MISSING=Yes in the users ENV | |
| flake.lock | bump flake stuff | |
| flake.nix | remove 'log' package to reduce scope of pledge stuff | |
| go.mod | bump deps, import signing key update | |
| go.sum | bump deps, import signing key update | |
| google.pub | bump deps, import signing key update | |
| LICENSE | +license | |
| main.go | fix some missing \n's | |
| README.md | Support for downloading the latest Go version using "latest" | |
| untar.go | remove 'log' package to reduce scope of pledge stuff | |
gover
gover lets you easily install and test other versions of Go. Think gotip
but for releases!
gover also verifies PGP signatures for downloaded release tarballs.
Install
go get suah.dev/gover
Example run
qbit@litr /t/hello_go> gover download 1.13.9
Fetching "https://dl.google.com/go/go1.13.9.src.tar.gz"
Fetching "https://dl.google.com/go/go1.13.9.src.tar.gz.asc"
Signature OK.
extracted tarball into /home/qbit/sdk/gover/1.13.9: 8687 files, 1089 dirs (4.804680289s)
Building Go cmd/dist using /usr/local/go.
Building Go toolchain1 using /usr/local/go.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.
Building Go toolchain3 using go_bootstrap and Go toolchain2.
Building packages and commands for openbsd/amd64.
---
Installed Go for openbsd/amd64 in /home/qbit/sdk/gover/1.13.9/go
Installed commands in /home/qbit/sdk/gover/1.13.9/go/bin
Success. You may now run 'gover 1.13.9'!
qbit@litr /t/hello_go> gover 1.13.9 build
qbit@litr /t/hello_go> goversion ./hello_go
./hello_go go1.13.9
qbit@litr /t/hello_go> go build
qbit@litr /t/hello_go> goversion ./hello_go
./hello_go go1.14.2
qbit@litr /t/hello_go>
The latest Go release can be downloaded by using gover download latest.