Versions in this module Expand all Collapse all v0 v0.0.7 Dec 20, 2023 Changes in this version + func WriteDocument(w io.Writer, root ParentElement) (n int64, err error) + type Attrib struct + Key string + Value fmt.Stringer + func (a Attrib) Empty() bool + func (a Attrib) WriteTo(w io.Writer) (n int64, err error) + type ParentElement struct + Children Terms + func (e ParentElement) WriteTo(w io.Writer) (n int64, err error) + type RawText string + func (t RawText) WriteTo(w io.Writer) (n int64, err error) + type Term interface + type Terms []Term + func (ts Terms) WriteTo(w io.Writer) (n int64, err error) + type Text string + func (t Text) WriteTo(w io.Writer) (n int64, err error) + type VoidElement struct + Attribs []Attrib + TagName string + func (e VoidElement) WriteTo(w io.Writer) (n int64, err error)