document

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UseHTML5 bool

Functions

This section is empty.

Types

type D

type D struct {
	Tag      string
	Text     string
	Attr     map[string]string
	Children []*D
	Raw      bool
}

func New

func New(tag string) *D

func Text

func Text(text string, raw bool) *D

func (*D) AddChild

func (d *D) AddChild(c *D)

func (*D) ToHtml

func (d *D) ToHtml() string

func (*D) ToText

func (d *D) ToText() string

Jump to

Keyboard shortcuts

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