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 GetChannelListLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewGetChannelListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetChannelListLogic { return &GetChannelListLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } func (l *GetChannelListLogic) GetChannelList(in *radio.ChannelListReq) (*radio.ChannelListResp, error) { // todo: add your logic here and delete this line return &radio.ChannelListResp{}, nil }