build: use gofumpt

Undecided if we need to use it. I think it's nice.
This commit is contained in:
Vincent Bernat
2023-02-11 10:03:45 +01:00
parent 26f1917420
commit a912da7fa1
43 changed files with 594 additions and 388 deletions

View File

@@ -30,7 +30,7 @@ type Logger struct {
// New creates a new logger
func New(config Configuration) (Logger, error) {
// Initialize the logger
var logger = log.Logger.Hook(contextHook{})
logger := log.Logger.Hook(contextHook{})
return Logger{logger}, nil
}