Commit graph

2 commits

Author SHA1 Message Date
Elshimy Ziad Magdy Taha
44c8255358 Remove dead internal/infrastructure/http package
internal/infrastructure/http was unreferenced: the live HTTP layer is
services/api/pkg/http, wired in services/api/cmd/server/main.go.

The deleted copy was a strict subset of the live one, not a divergence:
it lacked the GetJobs and ApplyForJob handlers and their route
registrations, and its CORS middleware hardcoded
Access-Control-Allow-Origin: * where the live version reflects the
request Origin.

Removing it also drops the only internal/ -> libs/ import edge, so
dependencies between the two shared roots now point one way
(libs/{ports,repo} -> internal/{domain,dto}). go mod tidy consequently
dropped libs/ports, libs/repo, internal/utils and gorilla/mux from
internal/infrastructure, whose orphaned replace directives are removed
here too.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-04 17:21:18 +05:00
Elshimy Ziad Magdy Taha
af52085ea3 fix errors and restructure project 2026-01-26 17:33:48 +05:00
Renamed from internal/pkg/infrastructure/go.mod (Browse further)