Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoGoMod is returned when path doesn't contain go.mod file ErrNoGoMod = errors.New("no go.mod file present") // ErrNoAPIKey is returned when thanks flag is enabled without providing GITHUB_API_KEY env variable ErrNoAPIKey = errors.New("cannot use thanks feature without github api key") )
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ParseDependencies ¶
func (*Client) WriteLicensesToFile ¶
type Repository ¶
type Repository struct { Name string Shortname string URL string Host string Author string Project string Text string }
Repository holds information about the repository
func ListRepositories ¶
func ListRepositories(path string, withIndirect bool) ([]*Repository, error)
Click to show internal directories.
Click to hide internal directories.