diff options
| author | Daniel Martí <mvdan@mvdan.cc> | 2023-03-23 08:12:30 +0000 |
|---|---|---|
| committer | Daniel Martí <mvdan@mvdan.cc> | 2023-03-25 10:16:23 +0000 |
| commit | 9768f736ea11165f10062401dec5509fdf1882ba (patch) | |
| tree | 995fb59d9a83591bd0fb7d14ff778adef680d81d /src/html | |
| parent | 478b1d260a21a83a090ba120efb79753495545e1 (diff) | |
| download | go-9768f736ea11165f10062401dec5509fdf1882ba.tar.xz | |
all: add a few links in package godocs
I noticed the one in path/filepath while reading the docs,
and the other ones were found via some quick grepping.
Change-Id: I386f2f74ef816a6d18aa2f58ee6b64dbd0147c9e
Reviewed-on: https://go-review.googlesource.com/c/go/+/478795
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/html')
| -rw-r--r-- | src/html/template/doc.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/html/template/doc.go b/src/html/template/doc.go index 5d1631b266..57990e8a38 100644 --- a/src/html/template/doc.go +++ b/src/html/template/doc.go @@ -5,16 +5,16 @@ /* Package template (html/template) implements data-driven templates for generating HTML output safe against code injection. It provides the -same interface as package text/template and should be used instead of -text/template whenever the output is HTML. +same interface as [text/template] and should be used instead of +[text/template] whenever the output is HTML. The documentation here focuses on the security features of the package. For information about how to program the templates themselves, see the -documentation for text/template. +documentation for [text/template]. # Introduction -This package wraps package text/template so you can share its template API +This package wraps [text/template] so you can share its template API to parse and execute HTML templates safely. tmpl, err := template.New("name").Parse(...) |
