Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// ModRoot specifies module root directory (required).
ModRoot string
// ModPath specifies module path (required).
ModPath string
// SupportedExts specifies all supported file extensions (optional).
SupportedExts map[string]struct{}
// 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.