fixed
This commit is contained in:
1 parent
4194cef934
commit
363127fe9e
3350 files changed
+1284220
-1
No files matched your search
Executable
+14
@@ -0,0 +1,14 @@
|
||||
package news
|
||||
|
||||
import (
|
||||
"bankline/internal/listing"
|
||||
"context"
|
||||
)
|
||||
|
||||
type Repository interface {
|
||||
GetAllData(ctx context.Context, params listing.Params) (DataNewsDTO, error)
|
||||
GetOneData(ctx context.Context, id int) (GetNewsDTO, error)
|
||||
AddData(ctx context.Context, dto AddNewsDTO) (GetNewsDTO, error)
|
||||
UpdateData(ctx context.Context, dto UpdateNewsDTO, id int) (GetNewsDTO, error)
|
||||
DeleteData(ctx context.Context, id int) error
|
||||
}
|
||||
Reference in new issue
Block a user