golang_get_pattern
Retrieve idiomatic Go code for design patterns by entering the pattern name. Get ready-to-use implementations for patterns like functional-options, worker-pool, or pipeline.
Instructions
Get a Go design pattern with idiomatic code
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "golang_get_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Pattern name (e.g. 'functional-options', 'worker-pool', 'pipeline', 'middleware-decorator', 'consumer-side-interface', 'strategy', 'adapter') |