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) GetBannerById(ctx context.Context, id int) (BannerDTO, 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) }