version

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: AGPL-3.0, AGPL-3.0-or-later Imports: 0 Imported by: 0

Documentation

Overview

Package version exposes the stella binary version.

The Version variable is set via -ldflags="-X github.com/CherryHQ/stella/internal/version.Version=..." during release builds. At dev-build time it defaults to "dev".

Index

Constants

This section is empty.

Variables

View Source
var BuildDate = ""

BuildDate is the build timestamp. Set via ldflags.

View Source
var Commit = ""

Commit is the git commit for this build. Set via ldflags.

View Source
var Version = "dev"

Version is the stella build version. Set via ldflags.

Functions

func IsDev

func IsDev() bool

IsDev reports whether the current build is a dev build (not a tagged release). Tagged releases set Version to a semver like "0.1.0" or "v0.1.0"; dev builds produce values like "dev" or "v0.1.0-5-gabcdef-dirty".

Types

This section is empty.

Jump to

Keyboard shortcuts

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