version

package
v1.23.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package version exposes the application version, following Semantic Versioning (https://semver.org): MAJOR.MINOR.PATCH.

Convention for this project: a new feature bumps MINOR, a bug fix bumps PATCH, and an incompatible change bumps MAJOR.

Index

Constants

This section is empty.

Variables

View Source
var Version = "1.23.1"

Version is the current d9c release (SemVer, without a leading "v").

It can be overridden at build time, e.g. to stamp a CI build:

go build -ldflags "-X github.com/kirg0/d9c/internal/version.Version=1.2.3" -o d9c.exe .

Functions

func String

func String() string

String returns the version prefixed with "v" (e.g. "v1.0.0"), the form shown in the UI and printed by the -version flag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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