ccsync
ccsync copied to clipboard
Make the backend modular
- Create separate files (and folders, if required) for different backend functions
- Update tests for the same
- Separate different Taskwarrior functions, data models, etc.
Hey @its-me-abhishek , I have done setup and gone through all code and will like to make modifications as follows
.
└── backend/
├── models/
│ └── ... all structs
├── utils/
│ └── ...all utility functions like GenerateUUID and repeated code blocks
│ └── tw/
│ └── ...taskwarrior commands utilities
├── tests/
│ └── ... all test functions
├── controllers/
│ └── ... all request handlers
├── routes.go .. all routes
└── main.go ... main func
I'll start working on it,
will make PR once done.
if you have any feedback, please let me know.