fix: align struct fields and method signatures for goimports
This commit is contained in:
parent
26cd169f7e
commit
09061d8175
3 changed files with 14 additions and 12 deletions
|
|
@ -33,7 +33,9 @@ type dummyTool struct {
|
|||
func (d *dummyTool) Name() string { return d.name }
|
||||
func (d *dummyTool) Description() string { return "test tool" }
|
||||
func (d *dummyTool) Parameters() map[string]interface{} { return nil }
|
||||
func (d *dummyTool) Execute(_ context.Context, _ map[string]interface{}) *ToolResult { return NewToolResult("ok") }
|
||||
func (d *dummyTool) Execute(_ context.Context, _ map[string]interface{}) *ToolResult {
|
||||
return NewToolResult("ok")
|
||||
}
|
||||
|
||||
func TestToolHook_BeforeAndAfterCalled(t *testing.T) {
|
||||
reg := NewToolRegistry()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue