Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FastingsFilter ¶
Types ¶
type CategoryService ¶
type CategoryService struct {
CategoryRepo *repository.CategoryRepository
}
func NewCategoryService ¶
func NewCategoryService(categoryRepo *repository.CategoryRepository) *CategoryService
type FastingService ¶
type FastingService struct {
FastingRepo *repository.FastingRepository
CategoryRepo *repository.CategoryRepository
TypesRepo *repository.TypesRepository
}
func NewFastingService ¶
func NewFastingService(fastingRepo *repository.FastingRepository, categoryRepo *repository.CategoryRepository, typesRepo *repository.TypesRepository) *FastingService
func (*FastingService) GetAll ¶
func (s *FastingService) GetAll(q requests.FastingRequest) ([]types.Fasting, error)
type SourceService ¶
type SourceService struct {
SourceRepo *repository.SourceRepository
}
func NewSourceService ¶
func NewSourceService(sourceRepo *repository.SourceRepository) *SourceService
type TypesService ¶
type TypesService struct {
TypesRepo *repository.TypesRepository
}
func NewTypesService ¶
func NewTypesService(typesRepo *repository.TypesRepository) *TypesService
Click to show internal directories.
Click to hide internal directories.