version

package
v0.8.22 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package version holds build metadata, overridden at link time:

go build -ldflags "-X github.com/wes/jokku/internal/version.Version=v0.1.0"

Index

Constants

View Source
const Repo = "wes/jokku"

Repo is the GitHub repository releases and install scripts come from.

Variables

View Source
var (
	Version = "0.0.0-dev"
	Commit  = "unknown"
)

Functions

func Older

func Older(a, b string) bool

Older reports whether release a came before release b. It is false unless both are releases.

func Release

func Release(v string) bool

Release reports whether v names a published release, like v0.8.5, rather than a development build (v0.8.5-3-g1a2b3c4, 0.0.0-dev).

Types

This section is empty.

Jump to

Keyboard shortcuts

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