feat: scaffold Go module with version command, Makefile and goreleaser config

This commit is contained in:
2026-08-22 21:41:05 +02:00
parent 8d34426864
commit 2a6498dae1
7 changed files with 163 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
// Package version carries the build-time version of the agent-lib binary.
package version
// Version is injected at build time via
// -ldflags "-X internal/version.Version=<version>". It defaults to "dev"
// for plain `go build` runs.
var Version = "dev"