LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

gotip

Daily builds of Go from development tree

TLDR

Run Go development version
$ gotip [go-commands]
copy
Install latest development version
$ gotip download
copy
Build specific CL
$ gotip download [CL-number]
copy

SYNOPSIS

gotip [options] command

DESCRIPTION

gotip provides access to daily builds of Go from the development tree. It allows developers to test upcoming Go features and bug fixes before they are released in stable versions.Unlike the numbered `go1.XX` download wrappers, gotip download builds the toolchain from source at the latest master commit of golang/go, so a working Go installation is required to bootstrap it. To refresh the installation, delete ~/sdk/gotip/.unpacked-success (or the whole directory) and re-run gotip download.

PARAMETERS

download [CL]

Fetch and build the current Go development tree into $HOME/sdk/gotip. When a Gerrit change-list number is supplied, that CL is applied on top before building.
Any other argument is passed through unchanged to the go tool inside the installed gotip SDK, so gotip build, gotip test, gotip env, etc. all Just Work.

USAGE

Install latest development version:

$ gotip download
copy
Use gotip like regular Go:
$ gotip run main.go
copy
$ gotip test ./...
copy
$ gotip build
copy

CAVEATS

Development versions may be unstable. Not recommended for production use. Requires internet connection to download. Binaries are large downloads.

HISTORY

gotip was created by the Go team to make testing development versions easier, replacing earlier workarounds for accessing pre-release Go versions.

SEE ALSO

go(1), [dl.golang.org](https://dl.golang.org/), [go.dev](https://go.dev/)

Copied to clipboard
Kai