Implement root handler

This commit is contained in:
Ben Sarmiento
2023-11-30 23:08:16 +01:00
parent 0ad879066e
commit 9f81b2b1d0
9 changed files with 105 additions and 127 deletions

View File

@@ -0,0 +1,21 @@
package version
var (
BuiltAt string
GoVersion string
GitCommit string
Version string = "dev"
)
func GetBuiltAt() string {
return BuiltAt
}
func GetGoVersion() string {
return GoVersion
}
func GetGitCommit() string {
return GitCommit
}
func GetVersion() string {
return Version
}