Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrVersionNotFound = errors.New("version info not found")
ErrVersionNotFound is returned when we can't find Go version info from a binary
Functions ¶
This section is empty.
Types ¶
type GoVersion ¶
type GoVersion struct {
// contains filtered or unexported fields
}
GoVersion represents Go toolchain version that a binary is built with.
func ExtraceGoVersion ¶
ExtraceGoVersion extracts Go version info from a binary that is built with Go toolchain
Click to show internal directories.
Click to hide internal directories.