Skip to content

dvaumoron/lastgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.