(name string, result any, err error)
| 52 | } |
| 53 | |
| 54 | func newMockTool(name string, result any, err error) *mockTool { |
| 55 | return &mockTool{ |
| 56 | name: name, |
| 57 | description: "Mock " + name, |
| 58 | result: result, |
| 59 | err: err, |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | func newDelayedMockTool(name string, result any, delay time.Duration) *mockTool { |
| 64 | return &mockTool{ |
no outgoing calls
no test coverage detected