version

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package version provides build-time version information for CodexSentinel CLI.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "dev"     // CLI version tag, e.g., v1.0.0
	Commit    = "unknown" // Git commit SHA
	BuildDate = "unknown" // Build timestamp (e.g., 2025-07-09T12:34:56Z)
)

These variables are intended to be set via -ldflags at build time.

Functions

func FullVersion

func FullVersion() string

FullVersion returns a human-readable version string.

func Info

func Info() map[string]string

Info returns version info as a structured map for JSON/CLI use.

Types

This section is empty.

Jump to

Keyboard shortcuts

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