accounting/pkg/database/logger.go
Knut Ahlers 668a9960b8
Lint: Update linter config, fix linter errors
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-07-23 18:34:58 +02:00

14 lines
206 B
Go

package database
import (
"fmt"
"io"
)
type (
loggerWriter struct{ io.Writer }
)
func (l loggerWriter) Printf(format string, data ...any) {
fmt.Fprintf(l.Writer, format, data...) //nolint:errcheck
}