Documentation ¶
Overview ¶
Package buildinfo provides access to information embedded in a Go binary about how it was built. This includes the Go toolchain version, and the set of modules used (for binaries built in module mode).
Build information is available for the currently running binary in runtime/debug.ReadBuildInfo.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildInfo ¶
Type alias for build info. We cannot move the types here, since runtime/debug would need to import this package, which would make it a much larger dependency.
Click to show internal directories.
Click to hide internal directories.