packages

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2018 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StdExcludeDirRegexps = []string{
	"vendor$", "third_party$",
	"testdata$", "examples$",
	"Godeps$",
	"builtin$",
}

Functions

This section is empty.

Types

type Package

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

func (*Package) Files

func (pkg *Package) Files(includeTest bool) []string

type Program

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

func (*Program) BuildContext

func (p *Program) BuildContext() *build.Context

func (*Program) Dirs

func (p *Program) Dirs() []string

func (*Program) Files

func (p *Program) Files(includeTest bool) []string

func (Program) Packages

func (p Program) Packages() []Package

func (*Program) String

func (p *Program) String() string

type Resolver

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

func NewResolver

func NewResolver(buildTags, excludeDirs []string) (*Resolver, error)

func (Resolver) Resolve

func (r Resolver) Resolve(paths ...string) (prog *Program, err error)

Jump to

Keyboard shortcuts

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