Cleaned up runtime version
This commit is contained in:
parent
cefa79a8b8
commit
7e294c8f72
@ -6,5 +6,10 @@ import (
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
AppVersion string = "N/a"
|
AppVersion string = "N/a"
|
||||||
RuntimeVersion string = runtime.Version()
|
RuntimeVersion string = runtimeVersion()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
func runtimeVersion() string {
|
||||||
|
raw_string := runtime.Version()
|
||||||
|
return raw_string[2:]
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user