Documentation
¶
Index ¶
Constants ¶
View Source
const (
DbgNoRemoveTempFile = 1 << iota
)
Variables ¶
View Source
var (
ErrWorkDirNotFound = errors.New("loadDeps: WorkingDir $WORK not found")
)
Functions ¶
Types ¶
type Config ¶
type Config struct {
// ModRoot specifies module root directory (required).
ModRoot string
// ModPath specifies module path (required).
ModPath string
// Loaded specifies all loaded packages (optional).
Loaded map[string]*types.Package
// Fset provides source position information for syntax trees and types (optional).
// If Fset is nil, Load will use a new fileset, but preserve Fset's value.
Fset *token.FileSet
}
type ExecCmdError ¶
func (*ExecCmdError) Error ¶
func (p *ExecCmdError) Error() string
type Importer ¶
type Importer struct {
// contains filtered or unexported fields
}
func NewImporter ¶
Click to show internal directories.
Click to hide internal directories.