feat: new pmg banner (#68)

* feat: new pmg banner

* commit lenght check
This commit is contained in:
Kunal Singh
2025-08-21 23:01:30 +05:30
committed by GitHub
parent 2493fb4dc6
commit cd8fb52c47
6 changed files with 65 additions and 16 deletions
+15
View File
@@ -0,0 +1,15 @@
package version
import runtimeDebug "runtime/debug"
var (
Version string
Commit string
)
func init() {
if Version == "" {
buildInfo, _ := runtimeDebug.ReadBuildInfo()
Version = buildInfo.Main.Version
}
}