forked from ebhomengo/niki
1
0
Fork 0
niki/delivery/http_server/benefactor/address/handler.go

22 lines
460 B
Go
Raw Normal View History

package benefactoraddresshandler
import (
authservice "git.gocasts.ir/ebhomengo/niki/service/auth"
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,
}
}