internal/

directory
v0.0.0-...-91e4906 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2021 License: BSD-3-Clause

README

internal/fmtsort, internal/html/template, internal/text/template, and internal/text/template/parse are copied from the standard library as of May 2021. The text/template code contains various bug fixes that the site depends on, as well as two features planned for Go 1.18: break and continue in range loops and short-circuit and/or (CL 321491 and CL 321490).

internal/tmplfunc is a copy of rsc.io/tmplfunc, which may some day make it into the standard library.

Directories

Path Synopsis
Package fmtsort provides a general stable ordering mechanism for maps, on behalf of the fmt and text/template packages.
Package fmtsort provides a general stable ordering mechanism for maps, on behalf of the fmt and text/template packages.
html
template
Package template (html/template) implements data-driven templates for generating HTML output safe against code injection.
Package template (html/template) implements data-driven templates for generating HTML output safe against code injection.
Package site implements generation of content for serving from go.dev.
Package site implements generation of content for serving from go.dev.
text
template
Package template implements data-driven templates for generating textual output.
Package template implements data-driven templates for generating textual output.
template/parse
Package parse builds parse trees for templates as defined by text/template and html/template.
Package parse builds parse trees for templates as defined by text/template and html/template.
Package tmplfunc provides an extension of Go templates in which templates can be invoked as if they were functions.
Package tmplfunc provides an extension of Go templates in which templates can be invoked as if they were functions.

Jump to

Keyboard shortcuts

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