-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Add feature system to Core #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This commit introduces a new feature system to the Core struct. A new `Features` struct is defined in `pkg/core/interfaces.go` with an `IsEnabled` method to check if a feature is enabled. The `Core` struct is updated to include this new `Features` struct, which is initialized in the `New` function.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. |
📝 WalkthroughSummary by CodeRabbitRelease Notes
WalkthroughFeature-flag functionality introduced to the Core type. A new Features type manages feature flags through a slice, with an IsEnabled method to verify flag status. The Core struct now includes a Features field, and Core initialisation ensures Features is instantiated. Changes
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (2)
🔇 Additional comments (3)
Comment |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
This commit introduces a new feature system to the Core struct. A new
Featuresstruct is defined inpkg/core/interfaces.gowith anIsEnabledmethod to check if a feature is enabled. TheCorestruct is updated to include this newFeaturesstruct, which is initialized in theNewfunction.PR created automatically by Jules for task 10736067772562717918