Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ArtifactMetadata ¶
type ArtifactMetadata struct { URL string `json:"url"` BrowserDownloadURL string `json:"browser_download_url"` Name string `json:"name"` DownloadCount int `json:"download_count"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` ContentType string `json:"content_type"` Size int `json:"size"` }
type Platform ¶
type Platform struct {
// contains filtered or unexported fields
}
func CurrentPlatform ¶
func CurrentPlatform() Platform
func NewPlatform ¶
func ParsePlatform ¶
type ReleaseMetadata ¶
type ReleaseMetadata struct { // Name here is the release name, which often is the same as the tag name (usually the version). // Two things: // 1. There's also TagName, consider using that instead // 2. Should this be called Tag or Version, so we can reserve Name for tha package name if // we want to include that? TagName string `json:"tag_name"` CreatedAt time.Time `json:"created_at"` PublishedAt time.Time `json:"published_at"` Draft bool `json:"draft"` Prerelease bool `json:"prerelease"` Artifacts []ArtifactMetadata `json:"artifacts"` }
Click to show internal directories.
Click to hide internal directories.