Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatisticsRepository ¶
type StatisticsRepository interface {
Get(ctx context.Context) (*domain.Statistics, error)
}
type StatisticsService ¶
type StatisticsService struct {
// contains filtered or unexported fields
}
func NewStatisticsService ¶
func NewStatisticsService(repo StatisticsRepository) *StatisticsService
func (*StatisticsService) Get ¶
func (s *StatisticsService) Get(ctx context.Context) (*domain.Statistics, error)
Click to show internal directories.
Click to hide internal directories.