Versions in this module Expand all Collapse all v4 v4.0.0 Jun 10, 2022 Changes in this version + func NewID(slug string, t time.Time) string + func NewSlug() string + type Entry struct + Content string + ID string + Permalink string + func (e *Entry) Audience() []string + func (e *Entry) DisplayDescription() string + func (e *Entry) DisplayTitle() string + func (e *Entry) Emojis() []string + func (e *Entry) Excerpt() string + func (e *Entry) FlatMF2() map[string]interface{} + func (e *Entry) Helper() *mf2.FlatHelper + func (e *Entry) InSection(section string) bool + func (e *Entry) MF2() map[string]interface{} + func (e *Entry) String() (string, error) + func (e *Entry) Tags() []string + func (e *Entry) TextContent() string + func (e *Entry) Update(newProps map[string][]interface{}) error + func (e *Entry) Visibility() Visibility + type Frontmatter struct + CreatedWith string + Deleted bool + Description string + Draft bool + IsListing bool + NoSendInteractions bool + NoShowInteractions bool + PhotoClass string + Properties map[string]interface{} + Published time.Time + Sections []string + Template string + Title string + Updated time.Time + type Parser struct + func NewParser(baseURL string) *Parser + func (p *Parser) FromMF2(mf2Data map[string][]interface{}, slug string) (*Entry, error) + func (p *Parser) FromRaw(id, raw string) (*Entry, error) + type Read struct + Author string + Date time.Time + ID string + Name string + type ReadList []*Read + func (rd ReadList) ByYear() *ReadsByYear + func (rd ReadList) SortByName() + type ReadsByYear struct + Map map[int]ReadList + Years []int + type ReadsSummary struct + Finished ReadsByYear + Reading ReadList + ToRead ReadList + type Visibility string + const VisibilityPrivate + const VisibilityPublic + const VisibilityUnlisted + type Watch struct + Date time.Time + ID string + Name string + type WatchesSummary struct + Movies []*Watch + Series []*Watch Other modules containing this package github.com/hacdias/eagle/v2