fix: build #238

Merged
tim merged 1 commits from fix-build into prod 2025-07-25 20:54:13 +00:00
2 changed files with 11 additions and 0 deletions

View File

@@ -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. 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 ## 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. 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. This applications uses as little dependencies as feasible, especially on the front end.

View File

@@ -15,6 +15,7 @@ import (
type migrationLogger struct{} type migrationLogger struct{}
func (l migrationLogger) Printf(format string, v ...any) { func (l migrationLogger) Printf(format string, v ...any) {
//nolint:noctx
slog.Info(format, v...) slog.Info(format, v...)
} }
func (l migrationLogger) Verbose() bool { func (l migrationLogger) Verbose() bool {