shawchandankumar / TODO-LIST-SK

0 stars 0 forks source link

We shouldn't be exposing db connection to routes #2

Open abdulrehman-sk opened 1 year ago

abdulrehman-sk commented 1 year ago

https://github.com/shawchandankumar/TODO-LIST-SK/blob/70b8f9a087b923624e3a0f483cfaf06f4dbafd18/backend/routes/route.go#L31

Let's only restrict it to configurations or crud modules, need not to be exposed to routes module