version

package
v1.10.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 9 Imported by: 0

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"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL