release

package
v1.52.2 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is

func Is(version string) bool

Types

type Info

type Info struct {
	CurrentVersion   string
	LatestVersion    string
	LatestVersionURL string
	UpdateAvailable  bool
}

func Check

func Check(ctx context.Context, version string) (Info, error)

Check checks for the latest release and returns an Info struct containing the current version, latest version, if the current version is a release, and if an update is available.

Jump to

Keyboard shortcuts

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