html

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2026 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Attr

func Attr(name, value string) string

Attr renders an escaped HTML attribute when value is non-empty.

func Classes

func Classes(values ...string) string

Classes joins generated class tokens.

func Escape

func Escape(value string) string

Escape escapes text for safe HTML output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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