mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 12:34:02 +03:00
Update to go 1.19
This commit is contained in:
+2
-2
@@ -19,7 +19,7 @@ import (
|
||||
"go.uber.org/zap/zapcore"
|
||||
)
|
||||
|
||||
func Proxy() error { // nolint: funlen,cyclop
|
||||
func Proxy() error { //nolint: funlen,cyclop
|
||||
ctx := utils.GetSignalContext()
|
||||
|
||||
atom := zap.NewAtomicLevel()
|
||||
@@ -41,7 +41,7 @@ func Proxy() error { // nolint: funlen,cyclop
|
||||
))
|
||||
|
||||
zap.ReplaceGlobals(logger)
|
||||
defer logger.Sync() // nolint: errcheck
|
||||
defer logger.Sync() //nolint: errcheck
|
||||
|
||||
if err := config.InitPublicAddress(ctx); err != nil {
|
||||
Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user