html

package
v0.0.0-...-2810845 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2021 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewElement

func NewElement(name string, attributes map[string]string) (elem *stdhtml.Node)

NewElement creates a new element from a name and attribute map

func NewText

func NewText(text string) *stdhtml.Node

NewText creates a new text node

func Render

func Render(tree *stdhtml.Node) string

Render turns an element tree into an html string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL