build

package
v0.0.0-...-4daef18 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2017 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	Options
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, opts Options) *Builder

func (*Builder) Cleanup

func (b *Builder) Cleanup() error

func (*Builder) Run

func (b *Builder) Run() error

type Options

type Options struct {
	Root          string
	BinName       string
	ExtractAssets bool
	HasDB         bool
	LDFlags       string
	Tags          []string
	Static        bool
	Debug         bool
	Compress      bool
}

func (Options) String

func (o Options) String() string

Jump to

Keyboard shortcuts

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