Update interaction.go
Cette révision appartient à :
Parent
5268d25a2d
révision
97588fa908
1 fichiers modifiés avec 4 ajouts et 0 suppressions
|
@ -32,6 +32,10 @@ func Delete(id uint) (*models.TorrentReport, int, error) {
|
|||
return &torrentReport, http.StatusOK, nil
|
||||
}
|
||||
|
||||
func DeleteAll() {
|
||||
models.ORM.Delete(&models.TorrentReport{})
|
||||
}
|
||||
|
||||
func findOrderBy(parameters Query, orderBy string, limit int, offset int, countAll bool) (
|
||||
torrentReports []models.TorrentReport, count int, err error,
|
||||
) {
|
||||
|
|
Référencer dans un nouveau ticket