version

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Functions

func IsNewerVersion added in v0.0.21

func IsNewerVersion(remote string) bool

IsNewerVersion reports whether remote is strictly newer than the local Version.

func ParseGitVersion added in v0.0.21

func ParseGitVersion(v string) (semver.Version, error)

ParseGitVersion parses a git-describe version string (e.g. "v0.0.20-12-g69a53ec-dirty") into a semver value suitable for comparison. The git-describe suffix is stripped so the version compares as the base tag (0.0.20).

Types

This section is empty.

Jump to

Keyboard shortcuts

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