123456789101112131415161718192021222324252627282930 |
- package logic
- import (
- "context"
- "microGame/app/mq/cmd/rabbitmq/internal/svc"
- "microGame/app/mq/cmd/rabbitmq/internal/types"
- "github.com/zeromicro/go-zero/core/logx"
- )
- type GetUserLogic struct {
- logx.Logger
- ctx context.Context
- svcCtx *svc.ServiceContext
- }
- func NewGetUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserLogic {
- return &GetUserLogic{
- Logger: logx.WithContext(ctx),
- ctx: ctx,
- svcCtx: svcCtx,
- }
- }
- func (l *GetUserLogic) GetUser(req *types.Request) (resp *types.Response, err error) {
- // todo: add your logic here and delete this line
- return
- }
|