srcURL returns an URL to the sources. TODO(maruel): Support custom local godoc server as it serves files too.
(c *Call)
| 117 | // |
| 118 | // TODO(maruel): Support custom local godoc server as it serves files too. |
| 119 | func srcURL(c *Call) template.URL { |
| 120 | url, _ := getSrcBranchURL(c) |
| 121 | return url |
| 122 | } |
| 123 | |
| 124 | func escape(s string) template.URL { |
| 125 | // That's the only way I found to get the kind of escaping I wanted, where |
searching dependent graphs…