refactor: clean up code to pass go lint test

This commit is contained in:
Jonas Kaninda
2024-11-15 08:57:27 +01:00
parent 28b7643f0c
commit db590a2cfc
10 changed files with 20 additions and 47 deletions

View File

@@ -26,11 +26,6 @@ import (
"github.com/jkaninda/goma-gateway/util"
)
type Logger struct {
msg string
args interface{}
}
// Info returns info log
func Info(msg string, args ...interface{}) {
log.SetOutput(getStd(util.GetStringEnv("GOMA_ACCESS_LOG", "/dev/stdout")))