MCPcopy Create free account
hub / github.com/apache/answer / AddReport

Method AddReport

internal/service/report_common/report_common.go:31–31  ·  view source on GitHub ↗
(ctx context.Context, report *entity.Report)

Source from the content-addressed store, hash-verified

29// ReportRepo report repository
30type ReportRepo interface {
31 AddReport(ctx context.Context, report *entity.Report) (err error)
32 GetReportListPage(ctx context.Context, query *schema.GetReportListPageDTO) (
33 reports []*entity.Report, total int64, err error)
34 GetByID(ctx context.Context, id string) (report *entity.Report, exist bool, err error)

Callers 2

AddReportMethod · 0.65
AddReportMethod · 0.65

Implementers 1

reportRepointernal/repo/report/report_repo.go

Calls

no outgoing calls

Tested by

no test coverage detected