htmlutil

package
v0.0.0-...-bb05487 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTMLFormat

func HTMLFormat(s template.HTML, rawArgs ...any) template.HTML

func HTMLPrint

func HTMLPrint(w io.Writer, s template.HTML) (int, error)

func HTMLPrintTag

func HTMLPrintTag(w io.Writer, tag template.HTML, attrs map[string]string) (written int, err error)

func HTMLPrintf

func HTMLPrintf(w io.Writer, s template.HTML, rawArgs ...any) (int, error)

func ParseSizeAndClass

func ParseSizeAndClass(defaultSize int, defaultClass string, others ...any) (int, string)

ParseSizeAndClass get size and class from string with default values If present, "others" expects the new size first and then the classes to use

Types

This section is empty.

Jump to

Keyboard shortcuts

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