mirror of
https://github.com/MedzikUser/go-github-selfupdate.git
synced 2024-08-15 03:25:29 +00:00
17 lines
418 B
Go
17 lines
418 B
Go
package selfupdate
|
|
|
|
import (
|
|
"github.com/blang/semver"
|
|
)
|
|
|
|
// Release represents a release asset for current OS and arch.
|
|
type Release struct {
|
|
// Version is the version of the release
|
|
Version semver.Version
|
|
// AssetURL is a URL to the uploaded file for the release
|
|
AssetURL string
|
|
// URL is a URL to release page for browsing
|
|
URL string
|
|
// ReleaseNotes is a release notes of the release
|
|
ReleaseNotes string
|
|
}
|