MCPcopy Index your code
hub / github.com/alecthomas/inject

github.com/alecthomas/inject @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
116 symbols 390 edges 5 files 31 documented · 27%
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

Annotation (Interface)
An Annotation modifies how a type is built and retrieved from the SafeInjector. [5 implementers]
annotations.go
Binder (Interface)
Binder is an interface allowing bindings to be added. [2 implementers]
inject.go
SafeBinder (Interface)
(no doc) [2 implementers]
safe.go
Module (Interface)
A Module implementing this interface will have its Configure() method called at Install() time. [2 implementers]
inject.go

Core symbols most depended-on inside this repo

SafeNew
called by 33
safe.go
Bind
called by 32
inject.go
Get
called by 22
inject.go
Build
called by 14
annotations.go
Install
called by 14
inject.go
Call
called by 12
inject.go
Annotate
called by 7
annotations.go
Sequence
called by 7
annotations.go

Shape

Method 51
Function 41
Struct 15
TypeAlias 5
Interface 4

Languages

Go100%

Modules by API surface

inject_test.go55 symbols
annotations.go25 symbols
safe.go19 symbols
inject.go17 symbols

Datastores touched

(mongodb)Database · 1 repos

For agents

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

⬇ download graph artifact