install

package
v0.0.0-...-ea27d6f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

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`

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL