pcm-octopus/internal/logic/gettrainjobloglogic.go

31 lines
701 B
Go

package logic
import (
"context"
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
"github.com/zeromicro/go-zero/core/logx"
)
type GetTrainJobLogLogic struct {
ctx context.Context
svcCtx *svc.ServiceContext
logx.Logger
}
func NewGetTrainJobLogLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetTrainJobLogLogic {
return &GetTrainJobLogLogic{
ctx: ctx,
svcCtx: svcCtx,
Logger: logx.WithContext(ctx),
}
}
func (l *GetTrainJobLogLogic) GetTrainJobLog(in *octopus.GetTrainJobLogReq) (*octopus.GetTrainJobLogResp, error) {
// todo: add your logic here and delete this line
return &octopus.GetTrainJobLogResp{}, nil
}