elliotchance/gedcom

View on GitHub
html/core/horizontal_rule.go

Summary

Maintainability
A
0 mins
Test Coverage
package core

import "io"

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

func NewHorizontalRule() *HorizontalRule {
    return &HorizontalRule{}
}

func (c *HorizontalRule) WriteHTMLTo(w io.Writer) (int64, error) {
    return writeString(w, "<hr/>")
}