GoDoc

golang.org/x/build/cmd/genbootstrap

The genbootstrap command prepares GOROOT_BOOTSTRAP tarballs suitable for use on builders.