mirror of https://github.com/status-im/fathom.git
17 lines
324 B
Go
17 lines
324 B
Go
package commands
|
|
|
|
import (
|
|
"github.com/dannyvankooten/ana/pkg/count"
|
|
"github.com/dannyvankooten/ana/pkg/datastore"
|
|
)
|
|
|
|
// Seed creates n database records with dummy data
|
|
func Seed(n int) {
|
|
datastore.Seed(n)
|
|
}
|
|
|
|
// Archive processes unarchived data (pageviews to aggeegated count tables)
|
|
func Archive() {
|
|
count.Archive()
|
|
}
|