Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { ID int64 `db:"id"` Title string `db:"title"` Timestamp int64 `db:"timestamp"` Body string `db:"body"` Extended string `db:"extended"` Author string `db:"author"` IsDraft bool `db:"isdraft"` ExFlag bool `db:"exflag"` LastModified int64 `db:"last_modified"` Permalink string `db:"permalink"` CategoryName sql.NullString `db:"category_name"` CategoryDescription sql.NullString `db:"category_description"` CategoryLink sql.NullString `db:"category_link"` Tags []EntryTag }
func (Entry) DateModified ¶
returns the last_modified field (formatted) for the entry
func (Entry) DatePublished ¶
returns the timestamp field (publish date) for the entry
Click to show internal directories.
Click to hide internal directories.