package
0.2.11
Repository: https://github.com/elastic/harp.git
Documentation: pkg.go.dev

# Functions

Build the given binary using the given package.
CollectGoFiles populates CollectedGoFiles, CollectedGoSourceFiles, and CollectedGoTestFiles.
Format all source code.
Generate invoke the go:generate task on given package.
GOARCH sets the GOARCH value during build.
GOARM sets the GOARM value during build.
GOOS sets the GOOS value during build.
Import fix all source code imports.
IntegrationTest run go test.
Is return true if current go version is included in given array.
License checks allowed license of vendored dependencies.
Lint all source code.
Release build and generate a final release artifact.
UnitTest run go test.
Vendor locks all dependencies.
WithCGO enables CGO compilation.
WithPIE enables Position Independent Executable compilation.

# Variables

AllCommandsPath denotes all Go application packages in this project.
AllPackagesPath denotes all Go packages in a project.
CollectedGoFiles represents source and test Go files in a project.
CollectedGoSourceFiles represents the set of Go source files in a project.
CollectedGoTestFiles represents the set of Go test files in a project.
GoListSourceFilesTemplate provides a standard Go template for querying a project's Go source file paths.
GoListTestFilesTemplate provides a standard Go template for querying a project's Go test file paths.
PathSeparatorString models the os.PathSeparator as a string.

# Type aliases

BuildOption is used to define function option pattern.