Fix: Implement golangci-lint suggestions

This commit is contained in:
Mauro Regli authored and Mauro committed 2023-09-21 11:25:18 +02:00
1 parent f4a152ab22
commit ae61706a34
27 files changed
+51 -62

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ func GetLogLevelOrDebug(levelStr string) zerolog.Level {
type timestampHook struct{}
func (h *timestampHook) Run(e *zerolog.Event, l zerolog.Level, msg string) {
func (h *timestampHook) Run(e *zerolog.Event, _ zerolog.Level, _ string) {
t := time.Now()
ts := t.Format(time.RFC3339)
e.Str("time", ts)