diff --git a/Readme.md b/Readme.md index e261ce5..b997177 100644 --- a/Readme.md +++ b/Readme.md @@ -3,6 +3,15 @@ SpendSparrow is a web app to keep track of expenses and income. It is very opinionated by keeping an keen eye on disciplin of it's users. Every Expense needs to be mapped to a Piggy Bank. For emergencies, funds can be moved between Piggy Banks. +## Prerequisites + + +```bash +go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest +go install github.com/a-h/templ/cmd/templ@latest +go install github.com/vektra/mockery/v2@latest +``` + ## Design priciples The State of the application can always be calculated on the fly. Even though it is not an Event Streaming Application, it is still important to be able to recalculate historic data. @@ -10,3 +19,4 @@ It may be applicable to do some sort of monthly snapshots to speed up calculatio This applications uses as little dependencies as feasible, especially on the front end. + diff --git a/internal/db/migration.go b/internal/db/migration.go index 76ed2d9..78c77ca 100644 --- a/internal/db/migration.go +++ b/internal/db/migration.go @@ -15,6 +15,7 @@ import ( type migrationLogger struct{} func (l migrationLogger) Printf(format string, v ...any) { + //nolint:noctx slog.Info(format, v...) } func (l migrationLogger) Verbose() bool {