Documentation
¶
Overview ¶
Package version reports the Go version used to build program executables.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DebugMatch bool
Functions ¶
This section is empty.
Types ¶
type Version ¶
type Version struct { Release string // Go version (runtime.Version in the program) ModuleInfo string // program's module information BoringCrypto bool // program uses BoringCrypto StandardCrypto bool // program uses standard crypto (replaced by BoringCrypto) FIPSOnly bool // program imports "crypto/tls/fipsonly" }
Version is the information reported by ReadExe.
func ReadExeReader ¶
func ReadExeReader(reader ReaderAtCloser) (Version, error)
ReadExe reports information about the Go version used to build the program executable named by file.
Click to show internal directories.
Click to hide internal directories.