version

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the application version
	// Set at build time with: go build -ldflags "-X github.com/leefowlercu/agentic-memorizer/internal/version.Version=v1.0.0"
	// If not set via ldflags, will fall back to embedded VERSION file
	Version = ""

	// GitCommit is the git commit hash
	// Set at build time with: go build -ldflags "-X github.com/leefowlercu/agentic-memorizer/internal/version.GitCommit=$(git rev-parse HEAD)"
	GitCommit = "unknown"

	// BuildDate is the build date
	// Set at build time with: go build -ldflags "-X github.com/leefowlercu/agentic-memorizer/internal/version.BuildDate=$(date -u +%Y-%m-%dT%H:%M:%SZ)"
	BuildDate = "unknown"
)

Functions

func GetBuildDate

func GetBuildDate() string

GetBuildDate returns the build date

func GetGitCommit

func GetGitCommit() string

GetGitCommit returns the git commit hash

func GetShortVersion

func GetShortVersion() string

GetShortVersion returns just the version number

func GetVersion

func GetVersion() string

GetVersion returns a formatted version string

Types

This section is empty.

Jump to

Keyboard shortcuts

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