Versions in this module Expand all Collapse all v39 v39.6.0 Nov 6, 2023 Changes in this version + const CardNoBadgeCount + const EntireRow + const HalfRow + const QuarterRow + type Anchor struct + func NewAnchor(name string) *Anchor + func (c *Anchor) WriteHTMLTo(w io.Writer) (int64, error) + type BadgePill struct + func NewBadgePill(color, class string, value Component) *BadgePill + func (c *BadgePill) WriteHTMLTo(w io.Writer) (int64, error) + type BigTitle struct + func NewBigTitle(size int, text Component) *BigTitle + func (c *BigTitle) WriteHTMLTo(w io.Writer) (int64, error) + type Card struct + func NewCard(title Component, count int, body Component) *Card + func (c *Card) WriteHTMLTo(w io.Writer) (int64, error) + type Column struct + func NewColumn(width int, body Component) *Column + func (c *Column) WriteHTMLTo(w io.Writer) (int64, error) + type Component interface + WriteHTMLTo func(w io.Writer) (n int64, err error) + type Components struct + func NewComponents(items ...Component) *Components + func (c *Components) WriteHTMLTo(w io.Writer) (int64, error) + type CountBadge struct + func NewCountBadge(value int) *CountBadge + func (c *CountBadge) WriteHTMLTo(w io.Writer) (int64, error) + type DirectoryFileWriter struct + WillWriteFile func(file *File) + func NewDirectoryFileWriter(outputDir string) *DirectoryFileWriter + func (writer *DirectoryFileWriter) WriteFile(file *File) error + type Div struct + func NewDiv(class string, body Component) *Div + func (c *Div) WriteHTMLTo(w io.Writer) (int64, error) + type Empty struct + func NewEmpty() *Empty + func (c *Empty) WriteHTMLTo(w io.Writer) (int64, error) + type File struct + Component Component + Name string + func NewFile(name string, component Component) *File + type FileWriter interface + WriteFile func(file *File) error + type FooterRow struct + func NewFooterRow() *FooterRow + func (c *FooterRow) WriteHTMLTo(w io.Writer) (int64, error) + type GoogleAnalytics struct + func NewGoogleAnalytics(id string) *GoogleAnalytics + func (c *GoogleAnalytics) WriteHTMLTo(w io.Writer) (int64, error) + type HTML struct + func NewHTML(s string) *HTML + func (c *HTML) WriteHTMLTo(w io.Writer) (int64, error) + type Heading struct + func NewHeading(number int, class string, body Component) *Heading + func (c *Heading) WriteHTMLTo(w io.Writer) (int64, error) + type HorizontalRule struct + func NewHorizontalRule() *HorizontalRule + func (c *HorizontalRule) WriteHTMLTo(w io.Writer) (int64, error) + type HorizontalRuleRow struct + func NewHorizontalRuleRow() *HorizontalRuleRow + func (c *HorizontalRuleRow) WriteHTMLTo(w io.Writer) (int64, error) + type KeyedTableRow struct + func NewKeyedTableRow(title string, value Component, visible bool) *KeyedTableRow + func (c *KeyedTableRow) WriteHTMLTo(w io.Writer) (int64, error) + type LineBreak struct + func NewLineBreak() *LineBreak + func (c *LineBreak) WriteHTMLTo(w io.Writer) (int64, error) + type Lines struct + func NewLines(lines ...Component) *Lines + func (c *Lines) WriteHTMLTo(w io.Writer) (int64, error) + type Link struct + func NewLink(body Component, dest string) *Link + func (c *Link) Style(style string) *Link + func (c *Link) WriteHTMLTo(w io.Writer) (int64, error) + type NavItem struct + func NewNavItem(content Component, isActive bool, href string) *NavItem + func (c *NavItem) WriteHTMLTo(w io.Writer) (int64, error) + type NavLink struct + func NewNavLink(text, link string, isSelected bool) *NavLink + func (c *NavLink) WriteHTMLTo(w io.Writer) (int64, error) + type NavPills struct + func NewNavPills(links []Component) *NavPills + func (c *NavPills) WriteHTMLTo(w io.Writer) (int64, error) + type NavPillsRow struct + func NewNavPillsRow(links []Component) *NavPillsRow + func (c *NavPillsRow) WriteHTMLTo(w io.Writer) (int64, error) + type NavTabs struct + func NewNavTabs(items []*NavItem) *NavTabs + func (c *NavTabs) WriteHTMLTo(w io.Writer) (int64, error) + type Number struct + func NewNumber(value int) *Number + func (c *Number) WriteHTMLTo(w io.Writer) (int64, error) + type Octicon struct + func NewOcticon(name, style string) *Octicon + func (c *Octicon) WriteHTMLTo(w io.Writer) (int64, error) + type Page struct + func NewPage(title string, body Component, googleAnalyticsID string) *Page + func (c *Page) WriteHTMLTo(w io.Writer) (int64, error) + type Row struct + func NewRow(columns ...*Column) *Row + func (c *Row) WriteHTMLTo(w io.Writer) (int64, error) + type Space struct + func NewSpace() *Space + func (c *Space) WriteHTMLTo(w io.Writer) (int64, error) + type Span struct + func NewSpan(class string, value Component) *Span + func (c *Span) WriteHTMLTo(w io.Writer) (int64, error) + type Table struct + func NewTable(tableClass string, content ...Component) *Table + func (c *Table) WriteHTMLTo(w io.Writer) (int64, error) + type TableCell struct + func NewTableCell(content Component) *TableCell + func (c *TableCell) Class(class string) *TableCell + func (c *TableCell) Header() *TableCell + func (c *TableCell) NoWrap() *TableCell + func (c *TableCell) Style(style string) *TableCell + func (c *TableCell) WriteHTMLTo(w io.Writer) (int64, error) + type TableHead struct + func NewTableHead(columns ...string) *TableHead + func (c *TableHead) WriteHTMLTo(w io.Writer) (int64, error) + type TableRow struct + func NewTableRow(cells ...Component) *TableRow + func (c *TableRow) WriteHTMLTo(w io.Writer) (int64, error) + type Tag struct + func NewTag(tag string, attributes map[string]string, body Component) *Tag + func (c *Tag) WriteHTMLTo(w io.Writer) (int64, error) + type Text struct + func NewText(s string) *Text + func (c *Text) WriteHTMLTo(w io.Writer) (int64, error) Other modules containing this package github.com/elliotchance/gedcom