// Code generated by goctl. DO NOT EDIT. // goctl 1.10.1 // Source: order.proto package server import ( "context" "order/internal/logic" "order/internal/svc" "order/order" ) type OrderServer struct { svcCtx *svc.ServiceContext order.UnimplementedOrderServer } func NewOrderServer(svcCtx *svc.ServiceContext) *OrderServer { return &OrderServer{ svcCtx: svcCtx, } } func (s *OrderServer) Ping(ctx context.Context, in *order.Request) (*order.Response, error) { l := logic.NewPingLogic(ctx, s.svcCtx) return l.Ping(in) }