Help us shape the future of Go! Take the 2026 Go Developer Survey

buildid

command standard library
go1.27.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Buildid displays or updates the build ID stored in a Go package or binary.

Usage:

go tool buildid [-w] file

By default, buildid prints the build ID found in the named file. If the -w option is given, buildid rewrites the build ID found in the file to accurately record a content hash of the file.

This tool is only intended for use by the go command or other build systems.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL