Affected by GO-2023-1774
and 5 other vulnerabilities
GO-2023-1774: Answer Missing Authorization vulnerability in github.com/answerdev/answer
GO-2023-1995: Answer has Race Condition within a Thread in github.com/answerdev/answer
GO-2023-1996: Answer Insufficient Session Expiration vulnerability in github.com/answerdev/answer
GO-2023-1997: Answer Missing Authorization vulnerability in github.com/answerdev/answer
GO-2023-2001: Answer has Weak Password Requirements in github.com/answerdev/answer
GO-2023-2051: Answer Missing Authentication for Critical Function in github.com/answerdev/answer
package
Version:
v1.0.8
Opens a new window with list of versions in this module.
Published: Apr 11, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ReportRepo interface {
AddReport(ctx context.Context, report *entity.Report) (err error)
GetReportListPage(ctx context.Context, query schema.GetReportListPageDTO) (reports []entity.Report, total int64, err error)
GetByID(ctx context.Context, id string) (report *entity.Report, exist bool, err error)
UpdateByID(ctx context.Context, id string, handleData entity.Report) (err error)
GetReportCount(ctx context.Context) (count int64, err error)
}
ReportRepo report repository
Source Files
¶
Click to show internal directories.
Click to hide internal directories.