2024-01-22 14:41:55 +00:00
|
|
|
package benefactoraddresshandler
|
|
|
|
|
|
|
|
import (
|
2024-01-25 11:43:39 +00:00
|
|
|
authservice "git.gocasts.ir/ebhomengo/niki/service/auth"
|
2024-01-22 14:41:55 +00:00
|
|
|
benefactoraddressservice "git.gocasts.ir/ebhomengo/niki/service/benefactor/address"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Handler struct {
|
|
|
|
authSvc authservice.Service
|
|
|
|
addressSvc benefactoraddressservice.Service
|
|
|
|
}
|
|
|
|
|
|
|
|
func New(
|
|
|
|
authSvc authservice.Service,
|
|
|
|
addressSvc benefactoraddressservice.Service,
|
|
|
|
) Handler {
|
|
|
|
return Handler{
|
|
|
|
authSvc: authSvc,
|
|
|
|
addressSvc: addressSvc,
|
|
|
|
}
|
|
|
|
}
|