mirror of
https://github.com/status-im/fathom.git
synced 2025-03-01 11:30:28 +00:00
20 lines
414 B
Go
20 lines
414 B
Go
package aggregator
|
|
|
|
import (
|
|
"github.com/usefathom/fathom/pkg/models"
|
|
)
|
|
|
|
type results struct {
|
|
Sites map[string]*models.SiteStats
|
|
Pages map[string]*models.PageStats
|
|
Referrers map[string]*models.ReferrerStats
|
|
}
|
|
|
|
func newResults() *results {
|
|
return &results{
|
|
Sites: map[string]*models.SiteStats{},
|
|
Pages: map[string]*models.PageStats{},
|
|
Referrers: map[string]*models.ReferrerStats{},
|
|
}
|
|
}
|