mirror of
https://github.com/status-im/fathom.git
synced 2025-03-01 19:40:27 +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{},
|
||
|
}
|
||
|
}
|