version

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package version provides a version string

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is the client version, overridden at build time.

Set via:

go build -ldflags "-X github.com/rschmied/gocmlclient/internal/version.Version=<version>"

Functions

func Effective

func Effective() string

Effective returns a best-effort version string.

Precedence:

  1. Version variable set via -ldflags
  2. module version from debug.ReadBuildInfo() (often "(devel)" in local builds)
  3. "dev"

Types

This section is empty.

Jump to

Keyboard shortcuts

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