-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: unify pattern loading and variable handling
- Stronger separation of concerns between chatter.go and patterns.go - Consolidate pattern loading logic into GetPattern method - Support both file and database patterns through single interface - Maintain API compatibility with Storage interface - Handle variable substitution in one place - Keep backward compatibility for REST API through Get method The changes enable cleaner pattern handling while maintaining existing interfaces and adding file-based pattern support.
- Loading branch information
Showing
2 changed files
with
63 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters