golang_get_practice
Retrieve Go best practices with good and bad code examples for common patterns such as error wrapping, goroutine lifecycle, and table-driven tests.
Instructions
Get a Go best practice with good/bad code examples
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_practice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Practice name (e.g. 'error-wrapping', 'goroutine-lifecycle', 'crypto-rand', 'table-driven-tests', 'thin-handlers') |