MCPcopy
hub / github.com/mohuishou/go-design-pattern

github.com/mohuishou/go-design-pattern @v1.0.0 sqlite

repository ↗ · DeepWiki ↗ · release v1.0.0 ↗
301 symbols 561 edges 60 files 215 documented · 71%
README

go-design-pattern

Extension points exported contracts — how you extend this code

IRuleConfigParser (Interface)
IRuleConfigParser IRuleConfigParser [5 implementers]
02_factory/021_simple_factory/simple_factory.go
IRuleConfigParser (Interface)
IRuleConfigParser IRuleConfigParser [5 implementers]
02_factory/022_factory_method/factory_method.go
IRuleConfigParser (Interface)
IRuleConfigParser IRuleConfigParser [5 implementers]
02_factory/023_abstract_factory/abstract_factory.go
IExpression (Interface)
IExpression 表达式接口 [4 implementers]
21_interpreter/interpreter.go
ICreateServer (Interface)
ICreateServer 创建云主机 [3 implementers]
08_adapter/adapter.go
SensitiveWordFilter (Interface)
SensitiveWordFilter 敏感词过滤器,判定是否是敏感词 [3 implementers]
15_chain/chain.go
IState (Interface)
IState 状态 [2 implementers]
16_state/state.go
IMsgSender (Interface)
IMsgSender IMsgSender [2 implementers]
06_bridge/bridge.go

Core symbols most depended-on inside this repo

GetStateName
called by 4
16_state/state.go
isError
called by 3
02_factory/024_di/di.go
Provide
called by 3
02_factory/024_di/di.go
Approval
called by 3
16_state/state.go
CreateServer
called by 3
08_adapter/adapter.go
Next
called by 3
17_iterator/iterator.go
Parse
called by 2
02_factory/023_abstract_factory/abstract_factory.go
SetState
called by 2
16_state/state.go

Shape

Method 123
Function 76
Struct 69
Interface 27
TypeAlias 4
FuncType 2

Languages

Go100%

Modules by API surface

16_state/state.go19 symbols
21_interpreter/interpreter.go14 symbols
12_observer/121_observer/observer.go14 symbols
02_factory/023_abstract_factory/abstract_factory.go14 symbols
18_visitor/visitor.go13 symbols
02_factory/022_factory_method/factory_method.go13 symbols
22_mediator/mediator.go10 symbols
17_iterator/iterator.go10 symbols
09_facade/facade.go10 symbols
08_adapter/adapter.go10 symbols
06_bridge/bridge.go10 symbols
15_chain/chain.go9 symbols

Dependencies from manifests, versioned

For agents

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

⬇ download graph artifact