Skip to content

Latest commit

 

History

History
40 lines (22 loc) · 963 Bytes

README.md

File metadata and controls

40 lines (22 loc) · 963 Bytes

lastgo

The lastgo project provides an alternative go command which is a proxy keeping up to date the Go toolchain.

Getting started

Install via Homebrew

$ brew tap dvaumoron/tap
$ brew install lastgo

Or get the last binary depending on your OS.

Environment Variables

LASTGO_ASK

String (Default: "")

When non empty, lastgo ask user for confirmation before an update.

LASTGO_CHECK_INTERVAL

String (Default: 24h)

Minimum interval waited between check of last version on LASTGO_DOWNLOAD_URL.

LASTGO_DOWNLOAD_URL

String (Default: https://go.dev/dl)

URL used to check last Go version (also download and install binaries at first launch, however update rely on GOTOOLCHAIN mecanism).

LASTGO_ROOT

String (Default: ${HOME}/.lastgo)

Path to directory where lastgo install Go.