Go Hexagonal (Ports & Adapters) Architecture
├── cmd
├── internal
│ ├── core
│ │ ├── domain
│ │ ├── port
│ │ └── service
│ ├── infrastructure
│ └── interface
├── pkg
└── test
└── mocks
All the core components or business logic (service, domain and port).
All the driven adapters (external dependencies and implementation details).
All the driver adapters for communicating with external systems.