Versions in this module Expand all Collapse all v2 v2.3.0 Jun 27, 2022 Changes in this version + var ErrNoAPIKey = errors.New("cannot use thanks feature without github api key") + var ErrNoGoMod = errors.New("no go.mod file present") + func Print(path string, indirect bool, writeTo io.Writer) error + type Client struct + func NewClient(path string) (*Client, error) + func (c *Client) ParseDependencies(includeIndirect, thanks bool) error + func (c *Client) Print(output io.Writer) + func (c *Client) WriteLicensesToFile() error + type Repository struct + Author string + Host string + Name string + Project string + Shortname string + Text string + URL string + func ListRepositories(path string, withIndirect bool) ([]*Repository, error)