Fields of Post struct were not exported
This commit is contained in:
parent
dc7c2e1abd
commit
ee73a9ca1d
|
@ -10,9 +10,9 @@ import (
|
|||
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"`
|
||||
Authors []string `json:"authors"`
|
||||
Tags []tag.Tag `json:"tags"`
|
||||
DateEdit time.Time `json:"dateEdit"`
|
||||
DateCreate time.Time `json:"dateCreate"`
|
||||
DatePublish time.Time `json:"datePublish"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue