Documentation
¶
Index ¶
- func BuildReleaseAssetURL(owner, repo, version, fileName string) string
- func IsNotFound(err error) bool
- type APIError
- type Client
- func (c *Client) AssetExistByUrl(ctx context.Context, assetURL string) (bool, error)
- func (c *Client) LatestRelease(ctx context.Context, owner, repo string) (Release, error)
- func (c *Client) ReleaseByTag(ctx context.Context, owner, repo, tag string) (Release, error)
- func (c *Client) Repository(ctx context.Context, owner, repo string) (Repository, error)
- type License
- type ReleasAssets
- type Release
- type RepoOwner
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildReleaseAssetURL ¶
func IsNotFound ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AssetExistByUrl ¶
func (*Client) LatestRelease ¶
func (*Client) ReleaseByTag ¶
func (*Client) Repository ¶
type ReleasAssets ¶
type Release ¶
type Release struct {
TagName string `json:"tag_name"`
Assets []ReleasAssets `json:"assets"`
}
Click to show internal directories.
Click to hide internal directories.