adjust dir structures
Some checks failed
docker-release / build-and-push (push) Failing after 9m59s

This commit is contained in:
2025-11-14 15:02:33 +08:00
parent 960cf59a1d
commit 83bb6623e8
10 changed files with 344 additions and 9 deletions

12
version.go Normal file
View File

@@ -0,0 +1,12 @@
package main
import (
"fmt"
"github.com/any-hub/any-hub/internal/version"
)
// printVersion 输出注入的版本 + 提交信息。
func printVersion() {
fmt.Fprintln(stdOut, version.Full())
}