Namespace: go.std.debug.buildinfo
v1.0Contents
Summary
Provides a low-level interface to the debug/buildinfo package.
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
Legend
-
Constant
Variable
Function
Macro
Special form
Type
GoVar
Receiver/Method
Constants
Constants are variables with :const true in their metadata. Joker currently does not recognize them as special; as such, it allows redefining them or their values.-
(None.)
Variables
-
(None.)
Functions, Macros, and Special Forms
-
Read
Function v1.0(Read r)
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.
Go input arguments: (r io.ReaderAt)
Go returns: (*runtime/debug.BuildInfo, error)
Joker input arguments: [^go.std.io/ReaderAt r]
Joker returns: [^go.std.runtime.debug/*BuildInfo, ^Error] -
ReadFile
Function v1.0(ReadFile name)
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.
Go input arguments: (name string)
Go returns: (info *runtime/debug.BuildInfo, err error)
Joker input arguments: [^String name]
Joker returns: [^go.std.runtime.debug/*BuildInfo info, ^Error err]
Types
-
(None.)