codeword/internal/controller/rpc_controllers/promoCode.go

14 lines
269 B
Go
Raw Normal View History

2024-04-25 12:09:28 +00:00
package rpc_controllers
2024-11-22 11:22:08 +00:00
import "gitea.pena/PenaSide/codeword/internal/services"
2024-04-25 12:09:28 +00:00
type RpcRegister struct {
Service *services.PromoCodeService
}
func InitRpcControllers(service *services.PromoCodeService) *RpcRegister {
return &RpcRegister{
Service: service,
}
}