Documentation ¶ Index ¶ func RenderShowNb(w io.Writer, desc ShowNb, tpl *template.Template) error type Assets func NewAssets() *Assets func (r *Assets) LoadTemplate(name string) (*template.Template, error) func (r *Assets) StaticPathTo(subPath ...string) string type ShowNb Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RenderShowNb ¶ func RenderShowNb(w io.Writer, desc ShowNb, tpl *template.Template) error Types ¶ type Assets ¶ type Assets struct { // contains filtered or unexported fields } func NewAssets ¶ func NewAssets() *Assets func (*Assets) LoadTemplate ¶ func (r *Assets) LoadTemplate(name string) (*template.Template, error) func (*Assets) StaticPathTo ¶ func (r *Assets) StaticPathTo(subPath ...string) string type ShowNb ¶ type ShowNb struct { AssetRoot string Title string Subtitle string CreatedAt string ScreenName string Description string MainImage string Header template.HTML Prerender template.HTML Footer template.HTML // contains filtered or unexported fields } Source Files ¶ View all Source files render_show_nb.go resources.go Click to show internal directories. Click to hide internal directories.