package logic import ( "context" "sundynix-micro-go/app/radio/rpc/internal/svc" "sundynix-micro-go/app/radio/rpc/radio" "github.com/zeromicro/go-zero/core/logx" ) type GetProgramDetailLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewGetProgramDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetProgramDetailLogic { return &GetProgramDetailLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } func (l *GetProgramDetailLogic) GetProgramDetail(in *radio.IdReq) (*radio.ProgramInfo, error) { // todo: add your logic here and delete this line return &radio.ProgramInfo{}, nil }