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
|
|
|
)
|
|
|
|
|
2016-12-11 09:58:58 +00:00
|
|
|
func seedData() {
|
2016-12-11 13:50:01 +00:00
|
|
|
db.Seed(nArg)
|
2016-12-08 20:07:24 +00:00
|
|
|
}
|
2016-12-11 09:58:58 +00:00
|
|
|
|
|
|
|
func archiveData() {
|
2016-12-24 08:00:16 +00:00
|
|
|
count.CreatePageviewArchives()
|
|
|
|
count.CreateVisitorArchives()
|
|
|
|
count.CreatePageviewArchivesPerPage()
|
|
|
|
count.CreateScreenArchives()
|
|
|
|
count.CreateLanguageArchives()
|
|
|
|
count.CreateBrowserArchives()
|
|
|
|
count.CreateReferrerArchives()
|
2016-12-11 09:58:58 +00:00
|
|
|
}
|