Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPkgModPath ¶
func LookupModFile ¶
Types ¶
type ModuleList ¶
func NewModuleList ¶
func NewModuleList(ctx *build.Context) *ModuleList
func (*ModuleList) LoadModule ¶
func (mc *ModuleList) LoadModule(dir string) (*Module, error)
func (*ModuleList) LoadModuleFile ¶
func (mc *ModuleList) LoadModuleFile(fmod string) (*Module, error)
type Package ¶
type Package struct {
ModList *ModuleList
Root *Node
NodeMap map[string]*Node
// contains filtered or unexported fields
}
func (*Package) DepImportList ¶
func (*Package) LocalImportList ¶
type PathPkgsIndex ¶
type PathPkgsIndex struct {
Indexs []*PkgsIndex
}
func (*PathPkgsIndex) LoadIndex ¶
func (p *PathPkgsIndex) LoadIndex(context build.Context, srcDirs ...string)
func (*PathPkgsIndex) Sort ¶
func (p *PathPkgsIndex) Sort()
Click to show internal directories.
Click to hide internal directories.