Linter configuration and linting.
Some checks failed
Linting and tests / Tests (push) Failing after 1m22s
Linting and tests / Linting (push) Failing after 1m32s

This commit is contained in:
2025-09-11 02:30:15 +05:00
parent fbb3733375
commit 71c80799d2
10 changed files with 111 additions and 24 deletions

View File

@@ -17,10 +17,12 @@ func NewGooseLogger(logger *slog.Logger) *GooseLogger {
}
}
// Fatalf is a proxy for goose logging.
func (gl *GooseLogger) Fatalf(format string, v ...interface{}) {
gl.logger.Error(fmt.Sprintf(format, v...))
}
// Printf is a proxy for goose logging.
func (gl *GooseLogger) Printf(format string, v ...interface{}) {
gl.logger.Info(fmt.Sprintf(format, v...))
}