diff --git a/lib/godoc/package.html b/lib/godoc/package.html index 01043b05f2..2e1be5104a 100644 --- a/lib/godoc/package.html +++ b/lib/godoc/package.html @@ -76,22 +76,22 @@ {{with .Consts}}
{{node_html .Decl $.FSet}}+ {{comment_html .Doc}} {{end}} {{end}} {{with .Vars}}
{{node_html .Decl $.FSet}}+ {{comment_html .Doc}} {{end}} {{end}} {{range .Funcs}} {{/* Name is a string - no need for FSet */}} {{$name_html := html .Name}}
{{node_html .Decl $.FSet}}
{{node_html .Decl $.FSet}}{{comment_html .Doc}} {{example_html .Name $.Examples $.FSet}} {{end}} @@ -99,28 +99,33 @@ {{$tname := .Name}} {{$tname_html := html .Name}}
{{node_html .Decl $.FSet}}+ {{comment_html .Doc}} + {{range .Consts}} - {{comment_html .Doc}}
{{node_html .Decl $.FSet}}+ {{comment_html .Doc}} {{end}} + {{range .Vars}} - {{comment_html .Doc}}
{{node_html .Decl $.FSet}}+ {{comment_html .Doc}} {{end}} + {{example_html $tname $.Examples $.FSet}} + {{range .Funcs}} {{$name_html := html .Name}}
{{node_html .Decl $.FSet}}
{{node_html .Decl $.FSet}}{{comment_html .Doc}} {{example_html .Name $.Examples $.FSet}} {{end}} + {{range .Methods}} {{$name_html := html .Name}}
{{node_html .Decl $.FSet}}
{{node_html .Decl $.FSet}}{{comment_html .Doc}} {{$name := printf "%s_%s" $tname .Name}} {{example_html $name $.Examples $.FSet}}