fix: align struct fields and method signatures for goimports

This commit is contained in:
Leandro Barbosa 2026-02-18 16:09:29 -03:00
parent 26cd169f7e
commit 09061d8175
3 changed files with 14 additions and 12 deletions

View file

@ -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()