logic

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2023 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CountCommentByParentLogic added in v1.0.3

type CountCommentByParentLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewCountCommentByParentLogic added in v1.0.3

func NewCountCommentByParentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CountCommentByParentLogic

func (*CountCommentByParentLogic) CountCommentByParent added in v1.0.3

根据 parentId 统计

type CreateCommentLogic

type CreateCommentLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewCreateCommentLogic

func NewCreateCommentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateCommentLogic

func (*CreateCommentLogic) CreateComment

创建

type DeleteCommentLogic

type DeleteCommentLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeleteCommentLogic

func NewDeleteCommentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteCommentLogic

func (*DeleteCommentLogic) DeleteComment

删除

type ListCommentByAuthorIdAndTypeLogic

type ListCommentByAuthorIdAndTypeLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewListCommentByAuthorIdAndTypeLogic

func NewListCommentByAuthorIdAndTypeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListCommentByAuthorIdAndTypeLogic

func (*ListCommentByAuthorIdAndTypeLogic) ListCommentByAuthorIdAndType

根据 authorId & type 查找

type ListCommentByParentLogic

type ListCommentByParentLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewListCommentByParentLogic

func NewListCommentByParentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListCommentByParentLogic

func (*ListCommentByParentLogic) ListCommentByParent

根据 parentId 查找

type ListCommentByReplyToAndTypeLogic

type ListCommentByReplyToAndTypeLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewListCommentByReplyToAndTypeLogic

func NewListCommentByReplyToAndTypeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListCommentByReplyToAndTypeLogic

func (*ListCommentByReplyToAndTypeLogic) ListCommentByReplyToAndType

根据 replyTo & type 查找

type RetrieveCommentByIdLogic

type RetrieveCommentByIdLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewRetrieveCommentByIdLogic

func NewRetrieveCommentByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RetrieveCommentByIdLogic

func (*RetrieveCommentByIdLogic) RetrieveCommentById

根据 id 查找

type UpdateCommentLogic

type UpdateCommentLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateCommentLogic

func NewUpdateCommentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateCommentLogic

func (*UpdateCommentLogic) UpdateComment

修改

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL