Skip to content

Commit

Permalink
refactor(handler): changed handlers to be controllers
Browse files Browse the repository at this point in the history
to enhance clarity, changed naming scheme of handlers to be controllers
  • Loading branch information
drewfugate committed Mar 5, 2024
1 parent 62ca9c1 commit 6109530
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
15 changes: 15 additions & 0 deletions controller/meeting_controller.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package meeting_controller

import (
"github.com/rise8-us/neverl8/service"
)

type MeetingController struct {
MeetingService *service.MeetingService
}

func NewMeetingController(MeetingService *service.MeetingService) *MeetingController {
return &MeetingController{MeetingService}
}

//TODO: Add controller methods for HTTP requests
15 changes: 0 additions & 15 deletions handler/meeting_handler.go

This file was deleted.

0 comments on commit 6109530

Please # to comment.