MCPcopy Index your code
hub / github.com/goinaction/code

github.com/goinaction/code @main sqlite

repository ↗ · DeepWiki ↗
273 symbols 531 edges 71 files 239 documented · 88%
README

code

Source Code for Go In Action examples

Extension points exported contracts — how you extend this code

Searcher (Interface)
Searcher declares an interface used to leverage different search engines to find results. [5 implementers]
chapter7/patterns/search/search.go
Matcher (Interface)
Matcher defines the behavior required by types that want to implement a new search type. [5 implementers]
chapter2/sample/search/match.go
Puller (Interface)
============================================================================= Puller declares behavior for pulling data. [4 …
chapter10/listing03/listing03.go
Puller (Interface)
============================================================================= Puller declares behavior for pulling data. [4 …
chapter10/listing02/listing02.go
Puller (Interface)
============================================================================= Puller declares behavior for pulling data. [4 …
chapter10/listing04/listing04.go
Mover (Interface)
============================================================================= Mover provides support for moving things. [1 …
chapter10/listing05/listing05.go
Worker (Interface)
Worker must be implemented by types that want to use the work pool. [1 implementers]
chapter7/patterns/work/work.go
Storer (Interface)
Storer declares behavior for storing data. [4 implementers]
chapter10/listing03/listing03.go

Core symbols most depended-on inside this repo

Add
called by 20
chapter7/patterns/runner/runner.go
Close
called by 12
chapter7/patterns/pool/pool.go
notify
called by 6
chapter5/listing36/listing36.go
notify
called by 4
chapter5/listing11/listing11.go
Pull
called by 4
chapter10/listing04/listing04.go
Store
called by 4
chapter10/listing04/listing04.go
createTask
called by 3
chapter7/patterns/runner/main/main.go
Lock
called by 3
chapter10/listing05/listing05.go

Shape

Function 120
Method 72
Struct 58
Interface 19
TypeAlias 4

Languages

Go100%

Modules by API surface

chapter7/patterns/semaphore/semaphore.go17 symbols
chapter10/listing04/listing04.go16 symbols
chapter10/listing03/listing03.go16 symbols
chapter10/listing02/listing02.go15 symbols
chapter10/listing05/listing05.go11 symbols
chapter10/listing01/listing01.go11 symbols
chapter7/patterns/search/search.go9 symbols
chapter5/listing60/listing60.go8 symbols
chapter5/listing48/listing48.go8 symbols
chapter2/sample/matchers/rss.go8 symbols
chapter7/patterns/search/searchers.go7 symbols
chapter5/listing56/listing56.go7 symbols

For agents

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

⬇ download graph artifact