Better naming of functions and files, delete less than helpful comments

This commit is contained in:
Maximilian
2023-08-03 12:09:40 -05:00
parent a1438f4fe2
commit 9670b7d717
14 changed files with 82 additions and 103 deletions

View File

@ -8,10 +8,10 @@ import (
"net/http"
)
// GetRoutes defines all project get routes
func GetRoutes(app *app.App) {
// Get defines all project get routes
func Get(app *app.App) {
// Get controller struct initialize
getController := controllers.GetController{
getController := controllers.Get{
App: app,
}

View File

@ -7,10 +7,10 @@ import (
"net/http"
)
// PostRoutes defines all project post routes
func PostRoutes(app *app.App) {
// Post defines all project post routes
func Post(app *app.App) {
// Post controller struct initialize
postController := controllers.PostController{
postController := controllers.Post{
App: app,
}