forked from ebhomengo/niki
22 lines
460 B
Go
22 lines
460 B
Go
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,
|
|
}
|
|
}
|