Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetModuleList ¶
GetModuleList returns the module list (name,version).
Types ¶
type Formatter ¶
type Formatter interface {
// contains filtered or unexported methods
}
Formatter is the formats to output go module report.
type GomClient ¶
type GomClient struct {
// contains filtered or unexported fields
}
GomClient is the client to get module info from 'go.dev' host.
func NewGomClient ¶
func NewGomClient() *GomClient
NewGomClient returns a new client for go module report.
func (*GomClient) GetLicense ¶
GetLicense returns the license name of the package specified by args.
Click to show internal directories.
Click to hide internal directories.