feat(version): add Go version to version output

This commit is contained in:
2023-04-26 19:01:11 +01:00
parent 61f987a007
commit 5500933689

View File

@@ -9,6 +9,7 @@ import (
"log"
"net/http"
"os"
"runtime"
"strconv"
"strings"
"text/template"
@@ -154,6 +155,8 @@ func printVersion() {
buffer.WriteString(fmt.Sprintf(" (%s)", commit))
}
buffer.WriteString(fmt.Sprintf(", built with %s", runtime.Version()))
fmt.Println(buffer.String())
}