sourcen übernommen und wieder compilierbar gemacht.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package handlers
|
||||
|
||||
import (
|
||||
"SimplyCPQ2/internal/services"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
type MainHandler struct {
|
||||
propertyTypeService *services.PropertyTypeService
|
||||
}
|
||||
|
||||
func NewMainHandler(p *services.PropertyTypeService) *MainHandler {
|
||||
return &MainHandler{
|
||||
propertyTypeService: p,
|
||||
}
|
||||
}
|
||||
|
||||
func (h *MainHandler) Home(ctx *gin.Context) {
|
||||
// Implement the logic for the main handler's home endpoint here
|
||||
}
|
||||
Reference in New Issue
Block a user