14 lines
261 B
Go
14 lines
261 B
Go
package service
|
|
|
|
import "beadstest/internal/storage"
|
|
|
|
type StatisticsService struct {
|
|
storage *storage.StatisticsStorage
|
|
}
|
|
|
|
func NewStatisticsService(storage *storage.StatisticsStorage) *StatisticsService {
|
|
return &StatisticsService{
|
|
storage: storage,
|
|
}
|
|
}
|