Skip to content

feat(core): Add MustLoad for gone.Loader; Deprecate OnceLoad for Application.Loads ensured LoadFunc loaded once; #69

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 2 commits into from
Apr 26, 2025

Conversation

Degfy
Copy link
Member

@Degfy Degfy commented Apr 26, 2025

  • Add MustLoad method to Core and Loader interfaces
  • Implement MustLoad for Core and MockLoader
  • Update Application to use MustLoad in Loads method
  • Add tests for new MustLoad functionality
  • Deprecate OnceLoad function

…ication.Loads ensured LoadFunc loaded once;

- Add MustLoad method to Core and Loader interfaces
- Implement MustLoad for Core and MockLoader
- Update Application to use MustLoad in Loads method
- Add tests for new MustLoad functionality
- Deprecate OnceLoad function
Copy link

codecov bot commented Apr 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
application.go 95.76% <100.00%> (-0.04%) ⬇️
core.go 91.14% <100.00%> (+0.08%) ⬆️
help.go 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- Modify the Go version matrix in the GitHub Actions workflow
- Remove previous Go versions (1.21, 1.22, 1.23) from the matrix
- Keep only Go 1.24 for testing
@Degfy Degfy added the enhancement New feature or request label Apr 26, 2025
@Degfy Degfy merged commit 59d9d09 into main Apr 26, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request kind/enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant