summaryrefslogtreecommitdiff
path: root/src/pkg/go/doc/testdata/template.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/go/doc/testdata/template.txt')
-rw-r--r--src/pkg/go/doc/testdata/template.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/pkg/go/doc/testdata/template.txt b/src/pkg/go/doc/testdata/template.txt
index 32e331cdd..d3882b6b9 100644
--- a/src/pkg/go/doc/testdata/template.txt
+++ b/src/pkg/go/doc/testdata/template.txt
@@ -60,6 +60,9 @@ TYPES
{{end}}{{end}}{{end}}{{/*
*/}}{{with .Bugs}}
-BUGS
+BUGS .Bugs is now deprecated, please use .Notes instead
{{range .}} {{synopsis .}}
-{{end}}{{end}} \ No newline at end of file
+{{end}}{{end}}{{with .Notes}}{{range $marker, $content := .}}
+{{$marker}}S
+{{range $content}} {{synopsis .}}
+{{end}}{{end}}{{end}} \ No newline at end of file