refactor: swap strings with an SQL builder #45

Merged
satprog merged 2 commits from feat/sql-builder into main 2025-09-05 21:15:21 +00:00
Owner

Adds doug-martin/goqu as dependency.
Make tests less fragile by focusing only on relevant SQL query parts.

refactor: return err from API handlers
Instead of logging + NoContent(http.StatusIntervalServerError).
Gin already logs the error when returned and returns a 500 to the client.

Adds doug-martin/goqu as dependency. Make tests less fragile by focusing only on relevant SQL query parts. refactor: return err from API handlers Instead of logging + NoContent(http.StatusIntervalServerError). Gin already logs the error when returned and returns a 500 to the client.
Adds doug-martin/goqu as dependency.
Make tests less fragile by focusing only on relevant SQL query parts.
refactor: return err from API handlers
All checks were successful
Lint PR / commitlint (pull_request) Successful in 28s
Go / build (1.22) (pull_request) Successful in 1m10s
Go / build (1.23) (pull_request) Successful in 1m8s
Go / build (1.24) (pull_request) Successful in 1m11s
Go / build (1.22) (push) Successful in 1m7s
Go / build (1.24) (push) Successful in 1m3s
Go / build (1.23) (push) Successful in 1m5s
547698872d
Instead of logging + NoContent(http.StatusIntervalServerError).
Gin already logs the error when returned and returns a 500 to the client.
satprog deleted branch feat/sql-builder 2025-09-05 21:15:22 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
personal-finance/datastore!45
No description provided.