22 lines
531 B
Go
22 lines
531 B
Go
package handler
|
|||
|
|
|
||
|
|
import (
|
||
|
|
"apskel-pos-be/internal/service"
|
||
|
|
"apskel-pos-be/internal/validator"
|
||
|
|
)
|
||
|
|
|
||
|
|
type GamificationHandler struct {
|
||
|
|
gamificationService service.GamificationService
|
||
|
|
gamificationValidator validator.GamificationValidator
|
||
|
|
}
|
||
|
|
|
||
|
|
func NewGamificationHandler(
|
||
|
|
gamificationService service.GamificationService,
|
||
|
|
gamificationValidator validator.GamificationValidator,
|
||
|
|
) *GamificationHandler {
|
||
|
|
return &GamificationHandler{
|
||
|
|
gamificationService: gamificationService,
|
||
|
|
gamificationValidator: gamificationValidator,
|
||
|
|
}
|
||
|
|
}
|