utils

package
v0.0.0-...-1add352 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCouldNotExtractVersion  = errors.New("could not extract version string from release file")
	ErrCouldNotValidateVersion = errors.New("could not validate semver string from release file")
)

Functions

func GetLatestAvailableV4Version

func GetLatestAvailableV4Version() (string, error)

GetLatestAvailableV4Version fetches the latest release.txt and extracts/validates the version string

func GetPackageVersion

func GetPackageVersion() (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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