delete: debug print

This commit is contained in:
2025-03-15 21:40:24 +07:00
parent 25ee8c2003
commit e45943e8ca
20 changed files with 23 additions and 1708 deletions

View File

@@ -120,9 +120,6 @@ func SortByOrder[T any](fieldsSortingOrder []SortField, entity T) ([]*T, error)
}
result := db.Preload(clause.Associations).Find(&items)
for _, item := range items {
fmt.Printf("%#v\n", *item)
}
if result.Error != nil {
return items, result.Error