Skip to main content

codemap-go

A Go indexer for CodeMap, shipped as an independent PyPI package.

What it captures

Backed by tree-sitter-go:

AST node Symbol kind
function_declaration function
method_declaration method (attached to its receiver type)
type_declaration containing struct_type class (with extra.go_kind=struct)
type_declaration containing interface_type class (with extra.go_kind=interface)
type_declaration (other) class (with extra.go_kind=type)
const_declaration (top-level) variable (with extra.go_kind=const)
var_declaration (top-level) variable

package_clause is captured as extra.package on every symbol-producing type so a downstream bridge can use it for cross-file resolution.

Method receivers — both func (u User) M() and func (u *User) M() — attach the method to its User type, producing scip-go . . . main.go/User#Login()..

SymbolID encoding

scip-go . . . pkg/user/user.go/User#Login().
└──────┘ └─────────────────────┘ └────┘ └─────┘
 scheme        file path          type   method

Install

pip install codemap-go

After install, codemap doctor lists go alongside the other indexers on identical terms (ADR-004 + ADR-L001).

Limits

  • No imports edges. Top-level imports are recorded for the package table but not turned into edges.
  • No generic constraints / type-parameter descriptors.
  • Method bodies are not traversed for call edges yet.
  • Anonymous structs and function-typed fields are skipped.

License

MIT.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codemap_go-0.4.10.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codemap_go-0.4.10-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file codemap_go-0.4.10.tar.gz.

File metadata

  • Download URL: codemap_go-0.4.10.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for codemap_go-0.4.10.tar.gz
Algorithm Hash digest
SHA256 489b58d76fd7ab80b49c65f29a40e5a7ae21c5970d816f1483f5970273f8775b
MD5 06f819dfb6120a35950034c91d6033db
BLAKE2b-256 9ed0165522214c2d1e9c17379e9d5f857ab244c065f780ce4ad9d50555c31067

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_go-0.4.10.tar.gz:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file codemap_go-0.4.10-py3-none-any.whl.

File metadata

  • Download URL: codemap_go-0.4.10-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for codemap_go-0.4.10-py3-none-any.whl
Algorithm Hash digest
SHA256 00c87d4e899a3309fd3a5978ed0c93bd84651a8da9e397e34945859aeffa42fb
MD5 35cf8ad94dc5671f87282175cd4ad584
BLAKE2b-256 65d36ae0e60483597887eadd325308988e94ebb7b7312f67053d4ed334cac3ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_go-0.4.10-py3-none-any.whl:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.4.10 This release

2 files

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.2

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page