← 返回命令列表

Linux command

gotip 命令

网络

复制后可按需替换文件名、目录或参数。

常用示例

Run

gotip [go-commands]

Install

gotip download

Build

gotip download [CL-number]

说明

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.

参数

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.

FAQ

What is the gotip command used for?

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.

How do I run a basic gotip example?

Run `gotip [go-commands]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does download _CL_ do in gotip?

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.