fathom/commands/data.go

21 lines
391 B
Go
Raw Normal View History

2016-12-08 20:07:24 +00:00
package commands
2016-12-11 13:50:01 +00:00
import (
"github.com/dannyvankooten/ana/count"
"github.com/dannyvankooten/ana/db"
2016-12-08 20:07:24 +00:00
)
func seedData() {
2016-12-11 13:50:01 +00:00
db.Seed(nArg)
2016-12-08 20:07:24 +00:00
}
func archiveData() {
count.CreatePageviewArchives()
count.CreateVisitorArchives()
count.CreatePageviewArchivesPerPage()
count.CreateScreenArchives()
count.CreateLanguageArchives()
count.CreateBrowserArchives()
count.CreateReferrerArchives()
}