返回 DeepSeek-Reasonix
plugin_test_helpers_test.go
根目录 / internal / plugin / plugin_test_helpers_test.go
1 package plugin
2
3 import "reasonix/internal/tool"
4
5 func findToolByName(tools []tool.Tool, name string) tool.Tool {
6 for _, candidate := range tools {
7 if candidate.Name() == name {
8 return candidate
9 }
10 }
11 return nil
12 }
13
13 lines GO