tool

package module
v0.0.0-...-f915d77 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2015 License: BSD-3-Clause Imports: 8 Imported by: 0

README

Documentation

Overview

Package tool wraps the go tool.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandBuild

type CommandBuild struct {
	ImportPath string
	// contains filtered or unexported fields
}

A Command defines the import path and provides a cached build.

func (*CommandBuild) Build

func (c *CommandBuild) Build() (string, error)

Build the Command and return the path to the binary.

type Options

type Options struct {
	GoBin       string
	ImportPaths []string
	Output      string
	ForceAll    bool
	Parallel    uint
	Compiler    string
	GccGoFlags  string
	GcFlags     string
	LdFlags     string
	Tags        string
	Verbose     bool
}

Defines an Build command.

func (*Options) Command

func (o *Options) Command(command string) (affected []string, err error)

Jump to

Keyboard shortcuts

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