change IIdentifiable interface to use a string instead of int
This commit is contained in:
@@ -8,6 +8,6 @@ type IRepository[T IIdentifiable] interface {
|
||||
Update(t T) error
|
||||
Delete(t T) error
|
||||
GetAll() ([]T, error)
|
||||
GetById(id uint) (T, error)
|
||||
GetById(id string) (T, error)
|
||||
GetByCriteria(c ISearchCriteria[T]) ([]T, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user