Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildInfo ¶
type BuildInfo struct { Path string // The main package path Main Module // The module containing the main package Deps []*Module // Module dependencies }
BuildInfo represents the build information read from the binary.
func ParseBuildInfo ¶
ParseBuildInfo returns the parsed build information extracted from the provided string. The information is available only in binaries built with module support.
Click to show internal directories.
Click to hide internal directories.