Documentation
¶
Overview ¶
Package version checks for newer engram releases on GitHub.
Index ¶
Constants ¶
View Source
const (
EnvNoUpdateCheck = "ENGRAM_NO_UPDATE_CHECK"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckResult ¶
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 ¶
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.