feat: delete news, tag, and category

This commit is contained in:
ericprd
2025-03-05 23:55:41 +08:00
parent 299fcf949b
commit d217ec8a62
21 changed files with 131 additions and 16 deletions
+1
View File
@@ -12,6 +12,7 @@ type accessor struct {
type News interface {
GetAll() ([]newsdomain.News, error)
Create(newsdomain.News) error
Delete(string) error
}
func New(db *database.DB) News {