feat: update and delete tags and categories

This commit is contained in:
ericprd
2025-03-05 23:13:24 +08:00
parent 5c699dfa53
commit 299fcf949b
22 changed files with 283 additions and 32 deletions
+5
View File
@@ -0,0 +1,5 @@
package categorysvc
func (i *impl) Delete(id string) error {
return i.categoryRepo.Delete(id)
}
+1
View File
@@ -13,6 +13,7 @@ type Category interface {
Create(categorydomain.CategoryReq) error
GetAll() ([]categorydomain.Category, error)
Update(string, categorydomain.CategoryReq) error
Delete(string) error
}
func New(