chores: refactor struct and structure project
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package categorysvc
|
||||
|
||||
import (
|
||||
"legalgo-BE-go/database"
|
||||
categoryrepository "legalgo-BE-go/internal/accessor/category"
|
||||
categorydomain "legalgo-BE-go/internal/domain/category"
|
||||
)
|
||||
@@ -13,7 +12,7 @@ type impl struct {
|
||||
type Category interface {
|
||||
Create(categorydomain.CategoryReq) error
|
||||
GetAll() ([]categorydomain.Category, error)
|
||||
GetAllModel() ([]database.CategoryModel, error)
|
||||
Update(string, categorydomain.CategoryReq) error
|
||||
}
|
||||
|
||||
func New(
|
||||
|
||||
Reference in New Issue
Block a user