version

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package version provides build and version information.

Index

Constants

View Source
const Version = "0.1.10"

Version is the current application version. Update this at logical milestones.

Variables

This section is empty.

Functions

func InstallCommand

func InstallCommand() string

InstallCommand returns the command to update the application.

Types

type GitHubRelease

type GitHubRelease struct {
	TagName string `json:"tag_name"`
}

GitHubRelease represents the GitHub API response for releases.

type UpdateInfo

type UpdateInfo struct {
	CurrentVersion  string
	LatestVersion   string
	UpdateAvailable bool
	Error           error
}

UpdateInfo contains information about available updates.

func CheckForUpdate

func CheckForUpdate() UpdateInfo

CheckForUpdate checks GitHub for the latest release version.

Jump to

Keyboard shortcuts

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