fix: update user plan and rearrange structur project

This commit is contained in:
ericprd
2025-03-08 22:46:05 +08:00
parent a47b7b7d3d
commit 13c976dcbf
54 changed files with 508 additions and 263 deletions
-9
View File
@@ -1,9 +0,0 @@
package tagsvc
import (
tagdomain "legalgo-BE-go/internal/domain/tag"
)
func (i *impl) GetAllModel() ([]tagdomain.Tag, error) {
return i.tagRepo.GetAll()
}
-1
View File
@@ -12,7 +12,6 @@ type impl struct {
type Tag interface {
Create(tagdomain.TagReq) error
GetAll() ([]tagdomain.Tag, error)
GetAllModel() ([]tagdomain.Tag, error)
Update(string, tagdomain.TagReq) error
Delete(string) error
}