Skip to content

refactor(application): reorganize lifecycle hooks and move interfaces to separate files #85

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

Merged
merged 1 commit into from
Jun 7, 2025

Conversation

Degfy
Copy link
Member

@Degfy Degfy commented Jun 7, 2025

feat: add collectHooks method to automatically collect lifecycle hooks from loaded goners
refactor: move Default application instance and related methods to default.go
refactor: move lifecycle interfaces to stage_interface.go and update mock generation
test: add TestApplication_collectHooks to verify hook collection order

… to separate files

feat: add collectHooks method to automatically collect lifecycle hooks from loaded goners
refactor: move Default application instance and related methods to default.go
refactor: move lifecycle interfaces to stage_interface.go and update mock generation
test: add TestApplication_collectHooks to verify hook collection order
Copy link

codecov bot commented Jun 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
application.go 100.00% <100.00%> (ø)
default.go 100.00% <100.00%> (ø)
iface.go 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Degfy Degfy merged commit 209d740 into main Jun 7, 2025
3 checks passed
@Degfy Degfy deleted the feature/patch-stage branch June 7, 2025 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant