jobs-monorepo/internal/infrastructure/go.mod
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

17 lines
367 B
Modula-2

module github.com/jobs-scraper/internal/infrastructure
go 1.24.0
toolchain go1.24.7
require (
github.com/golang-migrate/migrate/v4 v4.19.0
github.com/lib/pq v1.10.9
github.com/rabbitmq/amqp091-go v1.10.0
)
require (
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
golang.org/x/sys v0.36.0 // indirect
)