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

import "time"

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