CachedTool 带缓存的工具包装器
| 463 | |
| 464 | // CachedTool 带缓存的工具包装器 |
| 465 | type CachedTool struct { |
| 466 | tool Tool |
| 467 | cache *ToolCache |
| 468 | } |
| 469 | |
| 470 | // NewCachedTool 创建带缓存的工具 |
| 471 | func NewCachedTool(tool Tool, cache *ToolCache) *CachedTool { |
nothing calls this directly
no outgoing calls
no test coverage detected