From 4cd783c1c85e51e618a6813190afe043b5e908dc Mon Sep 17 00:00:00 2001 From: YouROK <8yourok8@mail.ru> Date: Mon, 16 Aug 2021 12:03:17 +0300 Subject: [PATCH] add log go version --- server/cmd/main.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server/cmd/main.go b/server/cmd/main.go index 33553f8..83a517d 100644 --- a/server/cmd/main.go +++ b/server/cmd/main.go @@ -7,6 +7,7 @@ import ( "net" "os" "path/filepath" + "runtime" "strings" "time" @@ -54,10 +55,11 @@ func main() { settings.HttpAuth = params.HttpAuth log.Init(params.LogPath, params.WebLogPath) fmt.Println("=========== START ===========") + fmt.Println("Go Ver:", runtime.Version()) if params.HttpAuth { - log.TLogln("Use HTTP Auth file", settings.Path, "/ accs.db") + log.TLogln("Use HTTP Auth file", settings.Path+"/accs.db") } - + dnsResolve() Preconfig(params.DontKill)