MCPcopy Index your code
hub / github.com/AlexanderGrom/go-patterns

github.com/AlexanderGrom/go-patterns @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
304 symbols 528 edges 46 files 231 documented · 76%
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

Place (Interface)
Place provides an interface for place that the visitor should visit. [4 implementers]
Behavioral/Visitor/visitor.go
Enginer (Interface)
Enginer provides engine interface. [3 implementers]
Structural/Bridge/bridge.go
Command (Interface)
Command provides a command interface. [3 implementers]
Behavioral/Command/command.go
Handler (Interface)
Handler provides a handler interface. [3 implementers]
Behavioral/ChainOfResponsibility/chain_of_responsibility.go
MobileAlertStater (Interface)
MobileAlertStater provides a common interface for various states. [3 implementers]
Behavioral/State/state.go
StrategySort (Interface)
StrategySort provides an interface for sort algorithms. [3 implementers]
Behavioral/Strategy/strategy.go
Product (Interface)
Product provides a product interface. All products returned by factory must provide a single interface. [3 implementers]
Creational/FactoryMethod/factory_method.go
Subject (Interface)
Subject provides an interface for a real subject and its surrogate. [2 implementers]
Structural/Proxy/proxy.go

Core symbols most depended-on inside this repo

AddMoney
called by 7
Behavioral/Mediator/mediator.go
IsSatisfiedBy
called by 6
Unsorted/Specification/specification.go
Relate
called by 6
Unsorted/Specification/specification.go
Add
called by 4
Structural/Composite/composite.go
Add
called by 3
Structural/Composite/composite.go
SendRequest
called by 3
Behavioral/ChainOfResponsibility/chain_of_responsibility.go
SetMediator
called by 3
Behavioral/Mediator/mediator.go
Attach
called by 3
Behavioral/Observer/observer.go

Shape

Method 166
Struct 71
Function 39
Interface 27
TypeAlias 1

Languages

Go100%

Modules by API surface

Unsorted/Specification/specification.go28 symbols
Behavioral/Visitor/visitor.go22 symbols
Behavioral/Iterator/iterator.go22 symbols
Behavioral/Mediator/mediator.go20 symbols
Creational/AbstractFactory/abstract_factory.go19 symbols
Structural/Composite/composite.go17 symbols
Creational/FactoryMethod/factory_method.go14 symbols
Structural/Bridge/bridge.go13 symbols
Behavioral/Observer/observer.go13 symbols
Behavioral/Command/command.go13 symbols
Creational/Builder/builder.go12 symbols
Behavioral/TemplateMethod/template_method.go12 symbols

For agents

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

⬇ download graph artifact