feat: delete news, tag, and category
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user