// Code scaffolded by goctl. Safe to edit. // goctl 1.9.2 package server import ( "context" "github.com/zero-ppanel/zero-ppanel/apps/admin/internal/svc" "github.com/zero-ppanel/zero-ppanel/apps/admin/internal/types" "github.com/zeromicro/go-zero/core/logx" ) type UpdateServerLogic struct { logx.Logger ctx context.Context svcCtx *svc.ServiceContext } func NewUpdateServerLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateServerLogic { return &UpdateServerLogic{ Logger: logx.WithContext(ctx), ctx: ctx, svcCtx: svcCtx, } } func (l *UpdateServerLogic) UpdateServer(req *types.UpdateServerReq) error { // todo: add your logic here and delete this line return nil }