From 9768f736ea11165f10062401dec5509fdf1882ba Mon Sep 17 00:00:00 2001 From: Daniel Martí Date: Thu, 23 Mar 2023 08:12:30 +0000 Subject: all: add a few links in package godocs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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í Reviewed-by: Heschi Kreinick TryBot-Result: Gopher Robot Reviewed-by: Ian Lance Taylor --- src/html/template/doc.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/html/template') 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(...) -- cgit v1.3-5-g45d5