Versions in this module Expand all Collapse all v0 v0.2.2 Dec 13, 2025 Changes in this version + func HasRelease(httpClient *http.Client, owner, repo, tag string) (bool, error) + func NewHTTPClient(opts ...ClientOption) *http.Client + type Asset struct + Name string + URL string + type Assets []Asset + type AssetsResponse struct + BrowserDownloadURL string + Name string + type Client struct + func NewClient(opts ...ClientOption) *Client + func (c Client) REST(method string, url string, body io.Reader, data interface{}) error + type ClientOption = func(http.RoundTripper) http.RoundTripper + func ReplaceTripper(tr http.RoundTripper) ClientOption + type FilterFunc func(assets Assets) *Asset + type Option func(r *Release) + func WithFilter(filter func(Assets) *Asset) Option + func WithOverwrite() Option + func WithVerbose() Option + func WithWorkdir(workdir string) Option + type Release struct + Assets Assets + Name string + Tag string + func NewRelease(ctx context.Context, owner, repo, tag string, opts ...Option) (*Release, error) + func (r *Release) Download(ctx context.Context) (Asset, error) + func (r *Release) Install(to string) error + func (r *Release) Unarchive(asset Asset) error + type ReleaseResponse struct + Assets []AssetsResponse + TagName string