Skip to main content

Module go

Module go 

Source
Expand description

Go symbol canonicalization.

Go emits frames in forms like:

  • main.handleRequest
  • main.(*Server).handleRequest — pointer receiver
  • main.Server.handleRequest — value receiver
  • main.handleRequest.func1 — closure inside func
  • github.com/foo/bar.(*Client).Do — full import path
  • runtime.goexit — runtime built-ins
  • type:.eq.[...] — auto-generated

Canonical form preserves pointer-vs-value receiver distinction (they’re different methods in Go). Closures (.func1, .func2) are flagged synthetic — their numeric suffix isn’t stable across edits.

Structs§

GoCanonicalizer