collect

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoFilesDirectories

func GoFilesDirectories(ctxt *build.Context, root *Target) ([]string, error)

GoFilesDirectories finds go package in inpkg

Types

type Affected

type Affected struct {
	Dir            string
	Name           string
	Pkg            string
	Files          []string
	ShallowImports map[string]bool
	IsXTest        bool
}

Affected :

func AffectedPackages

func AffectedPackages(ctxt *build.Context, srcpkg string, root *Target, pkgdirs []string) ([]Affected, error)

AffectedPackages :

type Target

type Target struct {
	Dir        string
	Pkg        string
	Path       string // Dir + Pkg
	NeedCreate bool
}

Target :

func TargetRoot

func TargetRoot(ctxt *build.Context, inpkg string) (*Target, error)

TargetRoot :

Jump to

Keyboard shortcuts

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