-
Notifications
You must be signed in to change notification settings - Fork 0
/
code-map
20 lines (19 loc) · 1.54 KB
/
code-map
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(EN) Code's structure layout
(ES) Disposición estructural del código
/─┬─model/─┐ : The abstractions regarding the game itself and its internal logic. Includes unit tests.
│ └─ // TODO : explains a litte more key abstractions
|
├─repositories/ : Handling of model abstractions that exists over an underlying persistence storage
│
├─presentation/─┐ : Code regarding exposing to clients a way to work with the model and "delivering" meaningful data
│ ├─web/─┐ : HTTP REST API + Web browser GUI
| | ├─ assest/ : content for web browser GUI clients
| | ├─ controllers/ : receving requests, process and dispaching responses (uses repositories to work with persistent data)
| | ├─ services/ : code that actually "talks" to the model abstractions plus additional code that arises from specific functionality tangled into web affairs (like a users' messaging system)
│ │ └─ server.go : ends points declaration (implemented on controllers/) and server fine tune
│ │
│ ├─cli/ : A very basical implementation of the game using the command line (has pending work to do)
│ ├─commmon/ : Common functionallity common to any kind of presentation (e.a: working with underlying OS's filesystem)
│ └─os-gui/ : for one or more specific OS GUI (next summer...)
│
└─main.go: on launch.. code executes from here