Skip to content

Commit af97440

Browse files
SamMorrowDrumsAdam Holt
andcommitted
refactor(gists): migrate gists.go to NewTool pattern
Convert all gist tools (ListGists, GetGist, CreateGist, UpdateGist) to use the new NewTool helper with ToolDependencies injection. - Remove getClient parameter from function signatures - Use deps.GetClient(ctx) inside handlers - Standardize error handling with utils.NewToolResultErrorFromErr() - Update all tests to use serverTool.Handler(deps) pattern Co-authored-by: Adam Holt <oholt@github.com>
1 parent 07249a0 commit af97440

File tree

3 files changed

+376
-375
lines changed

3 files changed

+376
-375
lines changed

0 commit comments

Comments
 (0)