package
1.1.10
Repository: https://github.com/fossas/fossa-cli.git
Documentation: pkg.go.dev

# Packages

Package resolver provides Go resolvers.

# Functions

Discover runs `go list ./...`.
ImportPath returns the import path of a package located at the directory.
LockfileIn returns the type of lockfile within a directory, or ErrNoLockfileInDir if none is found.
NearestLockfile returns the type and directory of the nearest lockfile in an ancestor directory, or ErrNoNearestLockfile if none is found.
New constructs an Analyzer.
UnresolvedImport returns the default (non-zero) pkg.Import for an unresolved gocmd.Package.
Unvendor takes a vendorized import path and strips all vendor folder prefixes.
VendorParent returns the directory that contains a vendored directory, or "." if none exists.

# Variables

Errors that occur while running utilities.
Errors that occur while finding lockfiles.
Errors that occur while finding lockfiles.

# Structs

An Analyzer contains structs used in the analysis of Go packages.
Options set analyzer options for Go modules.
A Project is a single folder that forms a coherent "project" for a developer and is versioned as a single unit.