package buildinfo Import Path debug/buildinfo (on go.dev) Dependency Relation imports 13 packages, and imported by 0 packagesInvolved Source Files 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.Package-Level Type Names (only one)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.Package-Level Functions (total 2)Read returns build information embedded in a Go binary file accessed through the given ReaderAt. Most information is only available for binaries built with module support.ReadFile returns build information embedded in a Go binary file at the given path. Most information is only available for binaries built with module support.
|The pages are generated with Golds v0.5.5. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds.|