add GetAvailableHours
This commit is contained in:
+4
-1
@@ -113,8 +113,11 @@ func main() {
|
||||
r.Post("/exceptional-applications", scheduling.CreateExceptionalApplication)
|
||||
})
|
||||
|
||||
// Merged working hours by date range
|
||||
// Merged working hours (default + exceptional)
|
||||
r.Get("/working-hours", scheduling.GetWorkingHours)
|
||||
|
||||
// Fully calculated available hours (default + exceptional + bookings + lunch breaks)
|
||||
r.Get("/available-hours", scheduling.GetAvailableHours)
|
||||
})
|
||||
|
||||
fmt.Println("Server is listening on :8080")
|
||||
|
||||
Reference in New Issue
Block a user