elliotchance/gedcom

View on GitHub
html/core/horizontal_rule_row.go

Summary

Maintainability
A
0 mins
Test Coverage
package core

import "io"

// HorizontalRuleRow is a dividing line.
type HorizontalRuleRow struct{}

func NewHorizontalRuleRow() *HorizontalRuleRow {
    return &HorizontalRuleRow{}
}

func (c *HorizontalRuleRow) WriteHTMLTo(w io.Writer) (int64, error) {
    return NewRow(NewColumn(EntireRow, NewHorizontalRule())).WriteHTMLTo(w)
}