2016-11-21 16:36:25 +00:00
|
|
|
package models
|
|
|
|
|
2018-05-04 13:43:05 +00:00
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
2016-11-21 16:36:25 +00:00
|
|
|
type Pageview struct {
|
2018-05-07 14:05:53 +00:00
|
|
|
ID int64 `db:"id"`
|
|
|
|
SessionID string `db:"session_id"`
|
|
|
|
Pathname string `db:"pathname"`
|
|
|
|
IsNewVisitor bool `db:"is_new_visitor"`
|
|
|
|
IsUnique bool `db:"is_unique"`
|
|
|
|
IsBounce bool `db:"is_bounce"`
|
|
|
|
Referrer string `db:"referrer"`
|
|
|
|
Duration int64 `db:"duration"`
|
|
|
|
Timestamp time.Time `db:"timestamp"`
|
2016-12-10 13:16:05 +00:00
|
|
|
}
|