scherzma / Skunk

P2P Tor Chat App
GNU General Public License v3.0
4 stars 0 forks source link

Implement Hexagonal Architecture Folder Structure #8

Closed scherzma closed 6 months ago

scherzma commented 6 months ago

Creating a folder structure to align with hexagonal architecture would increase maintainability and testability.

Approximate structure:

src/ ├─ adapter/ │ ├─ in/ │ ├─ out/ ├─ application/ │ ├─ domain/ │ │ ├─ chat/ │ │ │ ├─ model/ │ │ │ ├─ service/ │ │ ├─ network/ │ │ │ ├─ model/ │ │ │ ├─ service/ │ ├─ port/

Future: This structure is not complete. Only the core of the application is depicted. The structure for storage, ... remains to be determined.

Goals: Clear separation of concerns Domain layer independence Improved testability of components

JavaHammes commented 6 months ago

go project layout suggests to not use a src/ folder