14 lines
249 B
Go
14 lines
249 B
Go
package rpc_controllers
|
|
|
|
import "codeword/internal/services"
|
|
|
|
type RpcRegister struct {
|
|
Service *services.PromoCodeService
|
|
}
|
|
|
|
func InitRpcControllers(service *services.PromoCodeService) *RpcRegister {
|
|
return &RpcRegister{
|
|
Service: service,
|
|
}
|
|
}
|