Documentation
¶
Overview ¶
Package version checks for newer engram releases on GitHub.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckResult ¶ added in v1.10.9
type CheckResult struct {
Status CheckStatus
Message string
}
func CheckLatest ¶
func CheckLatest(current string) CheckResult
CheckLatest compares the running version against the latest GitHub release. It distinguishes between up-to-date, update available, and check failures.
type CheckStatus ¶ added in v1.10.9
type CheckStatus string
const ( StatusUpToDate CheckStatus = "up_to_date" StatusUpdateAvailable CheckStatus = "update_available" StatusCheckFailed CheckStatus = "check_failed" )
Click to show internal directories.
Click to hide internal directories.