We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently the controller functions are written in an over-complicated format, like so:
func CourseAll() gin.HandlerFunc { return func(c *gin.Context) { // Controller code here... } }
This is over-complicated and cluttered, since the above code could be easily rewritten like so:
func CourseAll(c *gin.Context) { // Controller code here... }
We should seek to simplify all of the controller code like shown -- code using the controllers will need to be adjusted accordingly.
The text was updated successfully, but these errors were encountered:
Hi! I'm new to Go and Mongo. Can I get assigned to this task ?
Sorry, something went wrong.
Yes you can, it's all yours!
Closed via #219
mikehquan19
No branches or pull requests
Currently the controller functions are written in an over-complicated format, like so:
This is over-complicated and cluttered, since the above code could be easily rewritten like so:
We should seek to simplify all of the controller code like shown -- code using the controllers will need to be adjusted accordingly.
The text was updated successfully, but these errors were encountered: