krply/internal/version/version.go
lakshit verma 7cc863d40b
feat(core): add journal, collector, storage, and materializer
- durable event schema with stream identity and dedup hashing
- SQLite WAL and in-memory journal stores with atomic append+checkpoint
- list-and-watch collector with bookmarks, reconnects, and 410 relists
- state reduction, snapshots, and semantic field diffs
2026-08-06 05:30:51 +05:30

17 lines
441 B
Go

// Package version holds build metadata for krply.
package version
// Version is set at build time via -ldflags. It reports the git describe
// value when built through the Makefile, otherwise "dev".
var Version = "dev"
// Commit is the git commit hash when available.
var Commit = ""
// String returns the full human-readable version.
func String() string {
if Commit != "" {
return Version + " (" + Commit + ")"
}
return Version
}