mirror of
https://github.com/golang/go
synced 2024-11-24 22:57:57 -07:00
godoc: fix local link for factory functions
- fix suggested by rodrigo.moraes Fixes #1755. R=rsc CC=golang-dev https://golang.org/cl/4977057
This commit is contained in:
parent
7df4322114
commit
72dcab1c40
@ -63,7 +63,7 @@
|
||||
{{end}}
|
||||
{{range .Factories}}
|
||||
{{$name_html := html .Name}}
|
||||
<h3 id="{{$tname_html}}.{{$name_html}}">func <a href="/{{posLink_url .Decl $.FSet}}">{{$name_html}}</a></h3>
|
||||
<h3 id="{{$name_html}}">func <a href="/{{posLink_url .Decl $.FSet}}">{{$name_html}}</a></h3>
|
||||
<p><code>{{node_html .Decl $.FSet}}</code></p>
|
||||
{{comment_html .Doc}}
|
||||
{{end}}
|
||||
|
Loading…
Reference in New Issue
Block a user