elliotchance/gedcom

View on GitHub
html/core/line_break.go

Summary

Maintainability
A
0 mins
Test Coverage
package core

import "io"

type LineBreak struct{}

func NewLineBreak() *LineBreak {
    return &LineBreak{}
}

func (c *LineBreak) WriteHTMLTo(w io.Writer) (int64, error) {
    return writeString(w, `<br/>`)
}