MCPcopy Index your code
hub / github.com/kr/pretty

github.com/kr/pretty @v0.3.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.1 ↗ · + Follow
88 symbols 164 edges 7 files 19 documented · 22% 256 cross-repo links
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

Printfer (Interface)
(no doc) [2 implementers]
diff.go
E (Interface)
(no doc)
diff_test.go
Logfer (Interface)
(no doc)
diff.go

Core symbols most depended-on inside this repo

String
called by 20
formatter.go
writeByte
called by 19
formatter.go
printf
called by 17
diff.go
wrap
called by 10
pretty.go
Formatter
called by 8
formatter.go
relabel
called by 6
diff.go
Logf
called by 5
diff.go
printInline
called by 5
formatter.go

Shape

Function 36
Struct 24
Method 23
Interface 3
TypeAlias 2

Languages

Go100%

Modules by API surface

formatter_test.go26 symbols
diff.go20 symbols
formatter.go17 symbols
pretty.go11 symbols
diff_test.go11 symbols
example_test.go2 symbols
zero.go1 symbols

For agents

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

⬇ download graph artifact