Implement root handler
This commit is contained in:
21
internal/version/version.go
Normal file
21
internal/version/version.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user