build

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package build provides Go package building.

Index

Constants

This section is empty.

Variables

View Source
var ErrNotExecutable = errors.New("not executable")

ErrNotExecutable is returned when the package path provided does not produce a binary.

Functions

func ClearCache

func ClearCache() error

ClearCache removes the module cache.

func Write

func Write(w io.Writer, bin gobinaries.Binary) error

Write a package binary to w.

Types

type Error

type Error struct {
	// contains filtered or unexported fields
}

Error represents a build error.

func (Error) Error

func (e Error) Error() string

Error implementation.

Jump to

Keyboard shortcuts

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