Documentation ¶
Index ¶
- func GetPackageFiles(packageRoot, packagePath string) (files []string, packageLocation string, err error)
- func ListGoFiles(packagePath string, cgo bool) ([]string, error)
- func ListPackage(path string) (*load.PackagePublic, error)
- type Ignore
- type OtherResources
- type PackageInfoCollector
- func (p *PackageInfoCollector) BuildArtifact() (*ProjectData, error)
- func (p *PackageInfoCollector) BuildPackageTree(includeMain bool, tests bool) ([]string, error)
- func (p *PackageInfoCollector) CollectInstalledResources() ([]string, error)
- func (p *PackageInfoCollector) CollectPackageInfos(packagePath string) error
- func (p *PackageInfoCollector) CollectProjectDeps(standard bool, skipSelf bool, tests bool) ([]string, error)
- type ProjectData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPackageFiles ¶
func ListPackage ¶
func ListPackage(path string) (*load.PackagePublic, error)
Types ¶
type OtherResources ¶
type PackageInfoCollector ¶
type PackageInfoCollector struct {
// contains filtered or unexported fields
}
func NewPackageInfoCollector ¶
func NewPackageInfoCollector(ignore *Ignore, extensions []string) *PackageInfoCollector
func (*PackageInfoCollector) BuildArtifact ¶
func (p *PackageInfoCollector) BuildArtifact() (*ProjectData, error)
func (*PackageInfoCollector) BuildPackageTree ¶
func (p *PackageInfoCollector) BuildPackageTree(includeMain bool, tests bool) ([]string, error)
func (*PackageInfoCollector) CollectInstalledResources ¶
func (p *PackageInfoCollector) CollectInstalledResources() ([]string, error)
func (*PackageInfoCollector) CollectPackageInfos ¶
func (p *PackageInfoCollector) CollectPackageInfos(packagePath string) error
func (*PackageInfoCollector) CollectProjectDeps ¶
Click to show internal directories.
Click to hide internal directories.