Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebPage ¶
type WebPage struct { FaviconURL string LogoURL string Title string Paragraphs []template.HTML Images []WebPageImage }
WebPage represents the data that will be used to populate the webpage template.
func NewWebPage ¶
func NewWebPage(catalog stream.ProductCatalog) *WebPage
NewWebPage creates initializes a webpage struct from the given product catalog.
Click to show internal directories.
Click to hide internal directories.