report_handle

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReportHandle

type ReportHandle struct {
	// contains filtered or unexported fields
}

func NewReportHandle

func NewReportHandle(
	questionService *content.QuestionService,
	answerService *content.AnswerService,
	commentService *comment.CommentService,
) *ReportHandle

func (*ReportHandle) UpdateReportedObject

func (rh *ReportHandle) UpdateReportedObject(ctx context.Context,
	report *entity.Report, req *schema.ReviewReportReq) (err error)

UpdateReportedObject this handle object status

Jump to

Keyboard shortcuts

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