feature/recipe_implementation #5

Merged
gmgauthier merged 54 commits from feature/recipe_implementation into master 2026-03-07 23:17:54 +00:00
Showing only changes of commit 5d0aec721d - Show all commits

View File

@ -6,7 +6,7 @@ version: 1.0
parameters:
package_path:
type: string
default: internal/service
default: internal
description: Package to refactor
dry_run:
type: bool
@ -33,6 +33,7 @@ Refactors all error handling in the target package to use the new Result[T] patt
### Step 1: Discover files
**Objective:** Find every file that needs changing.
**Instructions:** Recursively scan `{{.package_path}}` for `.go` files containing `if err != nil`.
If no files are found or the path does not exist, output exactly: "No files found matching the criteria."
**Expected output:** A clean numbered list of full file paths (one per line).
### Step 2: Refactor each file