Documentation
¶
Overview ¶
Package thirdparty collects the licenses of what is built into an executable, such as probe or an external action: the modules it links, and the Go standard library. Most of them ask that their copyright notice and license go with a copy in binary form, which a release is, so the release carries them in one file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Platforms = []string{"linux/amd64", "linux/arm64", "darwin/amd64", "darwin/arm64"}
Platforms are those probe and its external actions are released for.
Functions ¶
func Executable ¶ added in v1.41.0
Executable returns the name of the executable that the package at pattern builds, which go build gives it: the last element of its import path, or the one before it when that is a major version such as v2.
Types ¶
type Module ¶
type Module struct {
Path string
Version string
Dir string // where its files are
Source string // where its source is published
}
Module is a module built into the executable.
func Modules ¶
Modules returns the modules that the package at pattern links when it is built for each of the platforms, given as os/arch, apart from the module it is in, and the Go standard library, which every build links. The other modules of a workspace are among them, and a vendored module is read from the vendor directory. They are sorted by path.