MCPcopy Index your code
hub / github.com/maruel/panicparse / symbol

Function symbol

stack/html.go:238–246  ·  view source on GitHub ↗

symbol is the hashtag to use to refer to the symbol when looking at documentation. All of godoc/gddo, pkg.go.dev and golang.org/godoc use the same symbol reference format.

(f *Func)

Source from the content-addressed store, hash-verified

236// All of godoc/gddo, pkg.go.dev and golang.org/godoc use the same symbol
237// reference format.
238func symbol(f *Func) template.URL {
239 s := f.Name
240 if reMethodSymbol.MatchString(s) {
241 // Transform the method form.
242 s = reMethodSymbol.ReplaceAllString(s, "$1$2")
243 }
244 /* #nosec G203 */
245 return template.URL(url.QueryEscape(s))
246}

Callers 2

pkgURLFunction · 0.85
TestSymbolFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestSymbolFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…