Open Amitkumarkoli opened 2 months ago
So for this ticket, the actual logic in main.go needs to be split up. I don't really want to merge in empty files. Check out the backend of my project LibreTrac for an example.
hey! I just push new commit for this , in this all logic of main.go is split . so let me know this is what u want?
Sorry, maybe I should've been more clear.
The files shouldn't be named with 'other', they should be named based on what grouping of functions they contain. Like user_verse_controller or friend_controller. Likewise for the models. The db context should be passed to the controllers instead of creating a new db.
Check out this link for what I'm describing; https://github.com/billyrigdon/LibreTrac/tree/main/Backend
Also there's been backend changes so you'll need to pull down the updated code.
I am sorry for late commit , I was busy actually . I recently add a new commit for this , can u please check this?
I added a new commit to it two days ago, can you please check it?
pr for #25