Fields of Post struct were not exported

This commit is contained in:
Romain de Laage 2022-02-14 16:01:33 +01:00
parent dc7c2e1abd
commit ee73a9ca1d
Signed by: rdelaage
GPG Key ID: 534845FADDF0C329
1 changed files with 5 additions and 5 deletions

View File

@ -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"`
}