feat: extract tenancy into standalone module#91
Conversation
ren0503
commented
Jan 7, 2026
- Create separate tenancy package with own go.mod (github.com/tinh-tinh/tenancy)
- Move tenancy.go and tenancy_test.go to new package structure
- Update import paths in test file
- Improve modularity by decoupling tenancy from core ORM infrastructure
- Create separate tenancy package with own go.mod (github.com/tinh-tinh/tenancy) - Move tenancy.go and tenancy_test.go to new package structure - Update import paths in test file - Improve modularity by decoupling tenancy from core ORM infrastructure
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings. WalkthroughA new Go module is created for the tenancy package at Changes
Possibly related issues
Poem
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
🔇 Additional comments (3)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.5.0)Error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |