Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapReleasesToPlatformAssetsByVersion ¶
func MapReleasesToPlatformAssetsByVersion(releases []*gh.RepositoryRelease, platforms []string) map[string][]PlatformAsset
Types ¶
type GithubAssetsClient ¶
type GithubAssetsClient struct { Owner string Repo string // contains filtered or unexported fields }
func NewGithubAssetsClient ¶
func NewGithubAssetsClient(repoPath string, token string) *GithubAssetsClient
func (*GithubAssetsClient) DownloadAsset ¶
func (gac *GithubAssetsClient) DownloadAsset(id int64) (content io.ReadCloser, err error)
func (*GithubAssetsClient) GetReleases ¶
func (gac *GithubAssetsClient) GetReleases(count int) (results []*gh.RepositoryRelease, err error)
Click to show internal directories.
Click to hide internal directories.