Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderDealz ¶
func RenderDealz(w io.Writer, c DealzContext) error
func RenderHome ¶
func RenderHome(w io.Writer, c BaseContext) error
Types ¶
type BaseContext ¶
type BaseContext struct {
PathPrefix string
}
type DealzContext ¶
type DealzContext struct { BaseContext Title string LastUpdated time.Time Products []scraper.Product }
func (DealzContext) FormattedLastUpdated ¶
func (c DealzContext) FormattedLastUpdated() string
Click to show internal directories.
Click to hide internal directories.