-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
highHigh priorityHigh priority
Milestone
Description
Overview
Phase: 2 - Code Quality
Priority: High
Estimated Effort: 8-10 hours
Problem Description
The global opts variable in generator.go:214 creates tight coupling and makes the code difficult to test and maintain.
Acceptance Criteria
- All global state removed from generator package
- Options passed through method parameters or struct fields
- Code remains fully functional
- Unit tests can run in isolation
- No breaking changes to public API
- Thread-safe operation ensured
Files to Modify
internal/generator/generator.go(major refactoring)internal/generator/options.go(new file)cmd/new.go(update to use new generator pattern)
See roadmap/phase2-quality/UOW-004-remove-global-state.md for detailed implementation plan.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
highHigh priorityHigh priority