1
0
mirror of https://github.com/fumiama/WireGold.git synced 2026-06-05 07:50:24 +08:00

feat: add version tag

This commit is contained in:
源文雨
2026-04-11 15:24:57 +08:00
parent a85b102426
commit 25c5a5d658
3 changed files with 58 additions and 28 deletions

View File

@@ -1,3 +1,9 @@
package config
import "time"
// ShowDebugLog turn on to print verbose logs.
const ShowDebugLog = false
// Version will show in help message to distinguish different builds.
var Version = "dev-" + time.Now().Format(time.DateOnly)