Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSizeFormat ¶
Types ¶
type Asset ¶
type Asset struct {
Name, Filename, OS, Arch, URL, Type string
Size int
CreatedAt time.Time
ChecksumFile bool
}
func (Asset) IsChecksumFile ¶
type Assets ¶
type Assets []Asset
func GetAssetList ¶
func GetAssetList(repositoryReleases []*github.RepositoryRelease) Assets
func GetAssets ¶
func GetAssets(repositoryRelease *github.RepositoryRelease) Assets
type PublicRelease ¶
type PublicRelease struct {
// contains filtered or unexported fields
}
func NewPublicRelease ¶
func NewPublicRelease(owner, repo string) *PublicRelease
func (PublicRelease) Latest ¶
func (g PublicRelease) Latest(ctx context.Context) (*github.RepositoryRelease, error)
func (PublicRelease) List ¶
func (g PublicRelease) List(ctx context.Context, pageSize ...int) ([]*github.RepositoryRelease, error)
Click to show internal directories.
Click to hide internal directories.