build

package
v0.0.0-...-387e6da Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = Recursively

Default :

Functions

This section is empty.

Types

type Context

type Context struct {
	Ctxt      *build.Context
	MatchPkg  func(this, other string) bool
	WriteFile func(path string, b []byte) error
	MkdirAll  func(path string) error
	MoveFile  func(src, dst string) error
}

Context :

func OnePackageOnly

func OnePackageOnly() *Context

OnePackageOnly :

func Recursively

func Recursively() *Context

Recursively :

func (*Context) IsDir

func (ctxt *Context) IsDir(path string) bool

IsDir :

func (*Context) JoinPath

func (ctxt *Context) JoinPath(paths ...string) string

JoinPath :

func (*Context) OpenFile

func (ctxt *Context) OpenFile(path string) (io.ReadCloser, error)

OpenFile :

func (*Context) ReadDir

func (ctxt *Context) ReadDir(path string) ([]os.FileInfo, error)

ReadDir :

func (*Context) SrcDirs

func (ctxt *Context) SrcDirs() []string

SrcDirs :

type ImportMode

type ImportMode = build.ImportMode

type NoGoError

type NoGoError = build.NoGoError

type OriginalContext

type OriginalContext = build.Context

type Package

type Package = build.Package

Jump to

Keyboard shortcuts

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