Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PleaseGoInstall ¶
type PleaseGoInstall struct {
// contains filtered or unexported fields
}
PleaseGoInstall implements functionality similar to `go install` however it works with import configs to avoid a dependence on the GO_PATH, go.mod or other go build concepts.
func New ¶
func New(buildTags []string, srcRoot, moduleName, importConfig, ldFlags, cFlags, goTool, ccTool, pkgConfTool, out, trimPath string) *PleaseGoInstall
New creates a new PleaseGoInstall
func (*PleaseGoInstall) Install ¶
func (install *PleaseGoInstall) Install(packages []string) error
Install will compile the provided packages. Packages can be wildcards i.e. `foo/...` which compiles all packages under the directory tree of `{module}/foo`
Click to show internal directories.
Click to hide internal directories.