Masahiko AMANO 1b3fc04e06 feat: implement db helpers and postgres pool/transactor
db/db.go: TxFromContext/ContextWithTx for transaction propagation,
Querier interface (QueryRow/Query/Exec), ScanRow generic helper,
ClampLimit/ClampOffset pagination guards.

db/postgres/postgres.go: NewPool with ping validation, Transactor
backed by pgxpool (BeginTx → fn → commit/rollback), connOrTx helper
that returns the active transaction from context or falls back to pool.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-04 00:15:17 +03:00
2026-04-01 16:17:37 +03:00
2026-04-01 16:17:37 +03:00
Description
🎋Tanabata — web file manager with tags!
3.9 MiB
Languages
Go 47.4%
Svelte 41.9%
TypeScript 9.8%
PLpgSQL 0.4%
HTML 0.3%
Other 0.2%