Documentation
¶
Overview ¶
Package updatecheck looks up the latest RelSpec release on the project's Gitea instance and compares it against the running version.
Index ¶
Constants ¶
View Source
const DefaultAPIURL = "https://git.warky.dev/api/v1/repos/wdevs/relspecgo/releases/latest"
DefaultAPIURL is the Gitea endpoint that returns the latest release.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Release ¶
type Release struct {
Tag string `json:"tag_name"`
URL string `json:"html_url"`
Assets []Asset `json:"assets"`
}
Release is the subset of the Gitea release payload that is needed.
Click to show internal directories.
Click to hide internal directories.