mirror of
https://github.com/vee1e/krply.git
synced 2026-09-01 17:57:03 +00:00
- 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
17 lines
441 B
Go
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
|
|
}
|