Add post image upload backend (#11)

Adds bounded JPEG, PNG, and WebP processing, route-specific multipart limits, attachment mutation handling, and object cleanup on failed persistence or successful removal.

Reviewed-on: #11
Co-authored-by: codegirl-007 <s.raide@gmail.com>
This commit was merged in pull request #11.
This commit is contained in:
2026-08-29 08:00:49 +00:00
committed by codegirl007
parent 1840a662d9
commit 04f1010f27
6 changed files with 884 additions and 1 deletions
+1
View File
@@ -11,6 +11,7 @@ require (
github.com/google/uuid v1.6.0
github.com/jackc/pgx/v5 v5.10.0
github.com/joho/godotenv v1.5.1
github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd
golang.org/x/crypto v0.55.0
golang.org/x/image v0.45.0
)