Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
RootPath string // RootPath is the path to the root of a multi-module git repository.
ShortenModPath func(string) string // ShortenModPath shortens a module's import path to be a relative path from the RootPath.
LengthenModPath func(string) string // LengthenModPath lengthens a module's import path to be the full import path.
}
Client gets information about Go modules and packages.
func (Client) Dependencies ¶
Dependencies returns a list of all modules that the module mod depends on.
Click to show internal directories.
Click to hide internal directories.