Contents
Audit records (application service; no separate domain aggregate).
Locations
| Layer | Path |
|---|---|
| Application | internal/application/audit/ — start with service.go |
| HTTP | adapters/http/handler/audit_handler.go |
| GoUI | controller_settings_payments_audit.go |
| Persistence | audit_repository.go |
| Wiring | wire_user → auditService |
Application
| File | Role |
|---|---|
service.go |
Facade: List, Get |
query.go / get.go |
CQRS handlers |
Surfaces
GET /api/v1/audit/logs,/api/v1/audit/logs/:id- Panel:
/dashboard/audit/logs