pkginfo

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Package

type Package struct {
	Name    string
	Files   []string
	Imports []string
}

Package represents a go package in the project.

type PackageOverview

type PackageOverview struct {
	Packages     []Package
	Dependencies []Package
	ModuleName   string
}

PackageOverview represents an overview of all packages and their dependencies in the project.

func New

func New(root string) (*PackageOverview, error)

func (*PackageOverview) ExistsDependency

func (p *PackageOverview) ExistsDependency(pkgName string) bool

func (*PackageOverview) IsOwnPackage

func (p *PackageOverview) IsOwnPackage(pkgName string) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL