Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderToString ¶
Types ¶
type AttributeMap ¶
type AttributeMap map[string]AttributeNode
type AttributeNode ¶
type AttributeNode interface { WriterTo // contains filtered or unexported methods }
type Element ¶
type Element struct { TagName string Attributes map[string]AttributeNode Children []Node }
func NewElementNode ¶
func NewElementNode(tagName string, attributes map[string]AttributeNode, children []Node) *Element
type EmptyAttribute ¶
type EmptyAttribute struct{}
func (EmptyAttribute) Write ¶
func (EmptyAttribute) Write(w io.Writer)
Click to show internal directories.
Click to hide internal directories.