add core lib

This commit is contained in:
2026-03-01 03:04:10 +01:00
parent 9a6818ea3c
commit baa764befd
22 changed files with 2353 additions and 0 deletions

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
# go-core
Reusable backend infrastructure module.
## Packages
- `dotenv`: load dotenv candidates while preserving existing env vars.
- `dbpool`: PostgreSQL pool bootstrap for pgx.
- `migrate`: migration helpers around `golang-migrate`.
- `smtp`: SMTP mailer implementation.
- `middleware`: reusable HTTP middleware (`CORS`, IP rate limiter).
- `worker`: generic batch poller/runner utilities.