From 70dedbb89b5577eb21b9e6a44ca2fb0d3f8de983 Mon Sep 17 00:00:00 2001 From: Piotr Icikowski Date: Sun, 6 Feb 2022 19:20:52 +0100 Subject: [PATCH] Add Go version to version information log entry --- application/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/main.go b/application/main.go index 0f404a5..9527b52 100644 --- a/application/main.go +++ b/application/main.go @@ -3,6 +3,7 @@ package main import ( "flag" "net/http" + "runtime" "icikowski.pl/gpts/common" "icikowski.pl/gpts/config" @@ -35,6 +36,7 @@ func main() { Str("version", version). Str("gitCommit", gitCommit). Str("binaryType", binaryType). + Str("goVersion", runtime.Version()). Msg("version information") l.Info().