fix: update user plan and rearrange structur project
This commit is contained in:
@@ -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()
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user