Versions in this module Expand all Collapse all v1 v1.0.0 Aug 8, 2026 Changes in this version + type APIError struct + Message string + StatusCode int + func (e *APIError) Error() string + type Client struct + func NewClient(opts ...Option) *Client + func (c *Client) LatestRelease(ctx context.Context, owner, repo string) (*Release, error) + func (c *Client) ListReleases(ctx context.Context, owner, repo string, limit int) ([]Release, error) + type NotFoundError struct + Resource string + func (e *NotFoundError) Error() string + type Option func(*Client) + func WithBaseURL(url string) Option + func WithHTTPClient(h *http.Client) Option + func WithToken(token string) Option + type RateLimitError struct + Authenticated bool + func (e *RateLimitError) Error() string + type Release struct + Draft bool + HTMLURL string + Prerelease bool + PublishedAt time.Time + TagName string