MCPcopy Index your code
hub / github.com/elazarl/gosloppy

github.com/elazarl/gosloppy @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
278 symbols 751 edges 64 files 77 documented · 28%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Visitor (Interface)
Visitor will visit each node, and will calculate its scope [6 implementers]
scopes/visitor.go
Patch (Interface)
Patch represents a change to a source file between StartPos() and EndPos() [3 implementers]
patch/patchablefile.go
UnusedVisitor (Interface)
UnusedVisitor visits unused idientifier and unused import statements [1 implementers]
visitors/unused.go

Core symbols most depended-on inside this repo

Pos
called by 27
patch/patchablefile.go
String
called by 26
instrument/buildcmd.go
WalkExpr
called by 24
scopes/visitor.go
Files
called by 16
instrument/instrument.go
End
called by 16
patch/patchablefile.go
InstrumentTo
called by 15
instrument/instrument.go
ImportDir
called by 12
instrument/instrument.go
StartPos
called by 12
patch/patchablefile.go

Shape

Function 135
Method 108
Struct 23
TypeAlias 8
Interface 3
FuncType 1

Languages

Go100%

Modules by API surface

patch/patchablefile.go34 symbols
instrument/instrument_test.go27 symbols
scopes/visitor_test.go26 symbols
instrument/instrument.go20 symbols
instrument/buildcmd.go13 symbols
visitors/shorterror.go12 symbols
scopes/visitor.go12 symbols
visitors/unused.go10 symbols
visitors/unused_test.go7 symbols
visitors/multivisitor.go7 symbols
visitors/cow_test.go7 symbols
scopes/example_test.go7 symbols

For agents

$ claude mcp add gosloppy \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact