How shasankraj-shank-oki/gogo works
This is a console-based employee-management application with add, get-one, list, update, and delete workflows. The user enters menu choices and employee details in the controller; the service delegates each operation to the repository. The repository implementation currently only prints status messages: the sampled code shows no persistent storage or returned employee data. The graph reflects the visible wiring and calls; there is no README content describing additional capabilities.
Main entry points: employee_controller.go CLI controller · employee_service_impl.go Employee service · main.go Startup wiring · employee_repository_impl.go Repository stub
Components 6
Application entry
- Startup wiring
employee-management-simple/main.go
Employee workflows
- CLI controller
employee-management-simple/controller/employee_controller.go - Employee service
employee-management-simple/service/employee_service_impl.go
Domain and repository
- Employee model
employee-management-simple/model/employee.go - Repository stub
employee-management-simple/repository/employee_repository_impl.go
Other components
- Console user
Connections 10
- Startup wiring → Repository stub: creates
- Startup wiring → Employee service: creates
- Startup wiring → CLI controller: creates and starts
- Console user → CLI controller: enters choices and details
- CLI controller → Console user: prints menu and prompts
- CLI controller → Employee model: builds employee records
- CLI controller → Employee service: dispatches CRUD requests
- Employee service → Repository stub: delegates CRUD operations
- Employee service → Employee model: uses employee records
- Repository stub → Employee model: accepts employee records