Versions in this module Expand all Collapse all v0 v0.0.2 May 6, 2021 Changes in this version type Item + Desc string + Lang string + func (item *Item) GetDescription() string + func (item *Item) GetLanguage() string v0.0.1 Mar 22, 2020 Changes in this version + type Client struct + HTTPClient *http.Client + OfficialURL *url.URL + TrendingRepositoryURL *url.URL + func NewClient() (*Client, error) + func (client *Client) GetReadme(item Item) (*Readme, error) + func (client *Client) GetTrendingRepository(language string, since string) (*Result, error) + func (client *Client) SearchRepository(query string) (*Result, error) + type Item struct + CloneURL string + CreatedAt string + DataSource string + DefaultBranch string + Description string + FullName string + HTMLURL string + ID int + Language string + Name string + StargazersCount int + Stars int + Topics []string + URL string + UpdatedAt string + Watchers int + func (item *Item) GetCloneURL() string + func (item *Item) GetRepositoryName() string + func (item *Item) GetRepositoryURL() string + func (item *Item) GetStars() int + func (item *Item) String() string + type Readme struct + Content string + DownloadURL string + HTMLURL string + Name string + Path string + type Result struct + Items []Item + func (result *Result) Draw(writer io.Writer) error