version

package
v0.66.16 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package version holds build-time version information injected at link time.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "dev"
	CommitSHA = "unknown"
)

Functions

func IsNewer added in v0.48.0

func IsNewer(latest, current string) bool

Types

type UpdateCache added in v0.3.0

type UpdateCache struct {
	LatestVersion string    `json:"latest_version"`
	CheckedAt     time.Time `json:"checked_at"`
}

type UpdateResult added in v0.3.0

type UpdateResult struct {
	LatestVersion  string
	CurrentVersion string
}

func CheckForUpdate added in v0.3.0

func CheckForUpdate(cacheDir string) *UpdateResult

Jump to

Keyboard shortcuts

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