This commit is contained in:
guwandyk committed 2026-08-04 12:50:20 +05:00
1 parent 4194cef934
commit 363127fe9e
3350 files changed
+1284220 -1

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
package users
import "context"
type Repository interface {
GetNews(ctx context.Context, limit, page int) (DataNewsDTO, error)
GetNewsById(ctx context.Context, id int) (NewsDTO, error)
GetCategories(ctx context.Context) ([]CategoryDTO, error)
GetSubCategoryById(ctx context.Context, id int) (SubCategoryDTO, error)
GetBanners(ctx context.Context, limit, page int) (DataBannerDTO, error)
GetStatics(ctx context.Context, limit, page int) (DataStaticDTO, error)
GetStaticById(ctx context.Context, id int) (StaticDTO, error)
GetCurrency(ctx context.Context) (CurrencyDTO, error)
GetSetting(ctx context.Context) (SettingDTO, error)
}