| 123456789101112131415161718192021222324252627282930313233 |
- // Code scaffolded by goctl. Safe to edit.
- // goctl 1.10.2
- package logic
- import (
- "context"
- "udeServer/internal/svc"
- "udeServer/internal/types"
- "github.com/zeromicro/go-zero/core/logx"
- )
- type UdeServerLogic struct {
- logx.Logger
- ctx context.Context
- svcCtx *svc.ServiceContext
- }
- func NewUdeServerLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UdeServerLogic {
- return &UdeServerLogic{
- Logger: logx.WithContext(ctx),
- ctx: ctx,
- svcCtx: svcCtx,
- }
- }
- func (l *UdeServerLogic) UdeServer(req *types.Request) (resp *types.Response, err error) {
- return &types.Response{
- Message: "Hello " + req.Name,
- }, nil
- }
|