Versions in this module Expand all Collapse all v0 v0.2.4 Apr 27, 2026 v0.2.3 Apr 19, 2026 v0.2.2 Apr 6, 2026 v0.2.1 Apr 6, 2026 v0.2.0 Apr 6, 2026 v0.1.0 Mar 19, 2026 Changes in this version + func FetchFileTree(ctx context.Context, client *Client, owner, repo, branch string) string + func FetchOwnedRepos(ctx context.Context, client *Client) (<-chan Repo, <-chan error) + func FetchReadme(ctx context.Context, client *Client, owner, repo string) string + func FetchStarredRepos(ctx context.Context, client *Client) (<-chan Repo, <-chan error) + func ResetDefaultBaseURL() + func SetDefaultBaseURL(url string) + type Client struct + func NewClient(pat string) *Client + func (c *Client) Do(req *http.Request) (*http.Response, error) + func (c *Client) Get(ctx context.Context, path string) (*http.Response, error) + type Owner struct + ID int64 + Login string + type PATValidationResult struct + Error string + Login string + Scopes []string + Valid bool + func ValidatePAT(ctx context.Context, client *Client) PATValidationResult + type RateLimitError struct + ResetAt time.Time + func (e *RateLimitError) Error() string + type RateLimitInfo struct + Available bool + Limit int + Remaining int + ResetAt string + func GetRateLimitInfo(ctx context.Context, client *Client) *RateLimitInfo + type Repo struct + Archived bool + CloneURL string + CreatedAt string + DefaultBranch string + Description *string + Fork bool + ForksCount int + FullName string + HTMLURL string + ID int64 + Language *string + Name string + NodeID string + Owner Owner + Private bool + PushedAt string + Size int + StargazersCount int + Topics []string + UpdatedAt string