fix: delete method

This commit is contained in:
2025-02-20 18:30:24 +07:00
parent e2a0ef628f
commit e108c922d7
6 changed files with 24 additions and 25 deletions

View File

@@ -5,6 +5,6 @@ type Service[T any] interface {
GetById(id uint) (*T, error)
Create(item T) (T, error)
Update(item T) (T, error)
Delete(item T) (T, error)
Delete(id uint) error
Count() (int64, error)
}