github

package
v0.4.0-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Release

type Release struct {
	TagName    string         `json:"tag_name"`
	Draft      bool           `json:"draft"`
	Prerelease bool           `json:"prerelease"`
	Assets     []ReleaseAsset `json:"assets"`
}

func (Release) PreferredOsArchReleaseAssets

func (r Release) PreferredOsArchReleaseAssets(osArchOverrideREs map[string]*regexp.Regexp) (osArchAssets map[string]ReleaseAsset, checksumAssets, otherAssets []ReleaseAsset)

type ReleaseAsset

type ReleaseAsset struct {
	BrowserDownloadURL string            `json:"browser_download_url"`
	State              ReleaseAssetState `json:"state"`
}

type ReleaseAssetState

type ReleaseAssetState = string
const (
	ReleaseAssetStateOpen     ReleaseAssetState = "open"
	ReleaseAssetStateUploaded ReleaseAssetState = "uploaded"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL