Commit Graph

2 Commits

Author SHA1 Message Date
db123-test
c3869f4f10 feat: add env file support and parameterize SQL queries
Add .env and .env.local loading with InitEnv() helper that reads
environment variables from config files without overwriting existing
values.

Refactor SQL queries to use parameterized arguments instead of
string formatting for LIMIT/OFFSET clauses, improving query security
and preventing SQL injection vulnerabilities.

Clean up unnecessary rows.Close() calls and simplify error handling
in database query functions.
2026-05-05 19:13:42 +03:30
db123-test
33b0e4e30e refactor: move Go source files to src/ directory
Organize project structure by relocating all Go files to a src/ directory,
following standard Go project conventions and improving code organization.
2026-05-05 11:46:58 +03:30