Help us shape the future of Go! Take the 2026 Go Developer Survey

golang

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compiler

type Compiler struct {
	Compiler         *libbuildpack.Compiler
	VendorTool       string
	GoVersion        string
	MainPackageName  string
	GoPath           string
	PackageList      []string
	BuildFlags       []string
	Godep            Godep
	VendorExperiment bool
}

func (*Compiler) CheckBinDirectory

func (gc *Compiler) CheckBinDirectory() error

func (*Compiler) CompileApp

func (gc *Compiler) CompileApp() error

func (*Compiler) CreateStartupEnvironment

func (gc *Compiler) CreateStartupEnvironment(tempDir string) error

func (*Compiler) HandleVendorExperiment

func (gc *Compiler) HandleVendorExperiment() error

func (*Compiler) InstallGo

func (gc *Compiler) InstallGo() error

func (*Compiler) InstallVendorTool

func (gc *Compiler) InstallVendorTool(tmpDir string) error

func (*Compiler) ParseGoVersion

func (gc *Compiler) ParseGoVersion(partialGoVersion string) (string, error)

func (*Compiler) RunGlideInstall

func (gc *Compiler) RunGlideInstall() error

func (*Compiler) SelectGoVersion

func (gc *Compiler) SelectGoVersion() error

func (*Compiler) SelectVendorTool

func (gc *Compiler) SelectVendorTool() error

func (*Compiler) SetBuildFlags

func (gc *Compiler) SetBuildFlags()

func (*Compiler) SetInstallPackages

func (gc *Compiler) SetInstallPackages() error

func (*Compiler) SetMainPackageName

func (gc *Compiler) SetMainPackageName() error

func (*Compiler) SetupGoPath

func (gc *Compiler) SetupGoPath() error

type Godep

type Godep struct {
	ImportPath      string   `json:"ImportPath"`
	GoVersion       string   `json:"GoVersion"`
	Packages        []string `json:"Packages"`
	WorkspaceExists bool
}

Jump to

Keyboard shortcuts

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