add log go version

This commit is contained in:
YouROK
2021-08-16 12:03:17 +03:00
parent 723fc6942e
commit 4cd783c1c8

View File

@@ -7,6 +7,7 @@ import (
"net" "net"
"os" "os"
"path/filepath" "path/filepath"
"runtime"
"strings" "strings"
"time" "time"
@@ -54,8 +55,9 @@ func main() {
settings.HttpAuth = params.HttpAuth settings.HttpAuth = params.HttpAuth
log.Init(params.LogPath, params.WebLogPath) log.Init(params.LogPath, params.WebLogPath)
fmt.Println("=========== START ===========") fmt.Println("=========== START ===========")
fmt.Println("Go Ver:", runtime.Version())
if params.HttpAuth { if params.HttpAuth {
log.TLogln("Use HTTP Auth file", settings.Path, "/ accs.db") log.TLogln("Use HTTP Auth file", settings.Path+"/accs.db")
} }
dnsResolve() dnsResolve()