初版功能完成
ci / Go checks (ubuntu-latest) (push) Has been cancelled
ci / Go checks (windows-latest) (push) Has been cancelled

This commit is contained in:
qsc
2026-08-29 13:12:17 +08:00
commit 142e5dc7d6
217 changed files with 21313 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
// Package version exposes build metadata shared by all RemLink binaries.
package version
var (
// Version is overridden by release builds with -ldflags.
Version = "dev"
// Commit is overridden by release builds with -ldflags.
Commit = "unknown"
)
// String returns a compact version suitable for logs and command output.
func String() string {
if Commit == "" || Commit == "unknown" {
return Version
}
return Version + "+" + Commit
}