summaryrefslogtreecommitdiff
path: root/content/item.go
blob: 09f07606b75fbf199982ad9ca1beaf304f7f04ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package content

import "time"

// Item should only be embedded into content type structs.
type Item struct {
	ID        int       `json:"id"`
	Slug      string    `json:"slug"`
	Time      string    `json:"time"`
	Date      string    `json:"date"`
	Timestamp time.Time `json:"timestamp"`
	Updated   time.Time `json:"updated"`
}