19 lines
384 B
Go
19 lines
384 B
Go
package post
|
|
|
|
import (
|
|
"time"
|
|
|
|
"git.rdelaage.ovh/rdelaage/cyanocorax/model/page"
|
|
"git.rdelaage.ovh/rdelaage/cyanocorax/model/tag"
|
|
)
|
|
|
|
type Post struct {
|
|
page.Page
|
|
|
|
authors []string `json:"authors"`
|
|
tags []tag.Tag `json:"tags"`
|
|
dateEdit time.Time `json:"dateEdit"`
|
|
dateCreate time.Time `json:"dateCreate"`
|
|
datePublish time.Time `json:"datePublish"`
|
|
}
|