This is a basic API Gateway project structure in Go.
cmd/- Entry points (main files)internal/- Internal logic/utilitieshandlers/- HTTP handlersservices/- Service layerroutes/- Routing setup
- Install dependencies:
go get github.com/gorilla/mux - Run the gateway:
go run main.go
/api/service- Example endpoint