Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Extensions = []string{
"go",
}
View Source
var NewFile = utils.Cached1In1OutErr(_newFile)
View Source
var PackagesInDir = utils.Cached1In1OutErr(_packagesInDir)
View Source
var ParseGoMod = utils.Cached1In1OutErr(_ParseGoMod)
Functions ¶
This section is empty.
Types ¶
type ImportStmt ¶
func NewImportStmt ¶
func NewImportStmt(imp *ast.ImportSpec) ImportStmt
func (*ImportStmt) IsLocal ¶
func (i *ImportStmt) IsLocal(moduleName string) bool
func (*ImportStmt) RelPath ¶
func (i *ImportStmt) RelPath(moduleName string) string
type Language ¶
type Language struct {
Cfg *Config
GoMod GoMod
Root utils.SourcesRoot
Packages map[string]*ast.Package
}
func (*Language) ParseExports ¶
func (*Language) ParseImports ¶
Click to show internal directories.
Click to hide internal directories.