Documentation ¶
Index ¶
- func FindPackages(allPackages *Packages, rootPath string, onDone func(path string)) error
- type Package
- type Packages
- func (a *Packages) Exist(pkg *packages.Package) bool
- func (a *Packages) Fill(pkg *packages.Package)
- func (a *Packages) ForEach(f func(pkgPath string, pkg *Package))
- func (a *Packages) GetByPath(pkgPath string) *Package
- func (a *Packages) Insert(pkg *Package)
- func (a *Packages) Marshal() []byte
- func (a *Packages) Reset()
- func (a *Packages) Unmarshal(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Packages ¶
type Packages struct {
// contains filtered or unexported fields
}
func InitPackages ¶
func InitPackages() *Packages
Click to show internal directories.
Click to hide internal directories.