-
Notifications
You must be signed in to change notification settings - Fork 1
PA-34598 Make each package independently releaseable #53
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR refactors the repository from a single-module structure to a multi-module structure where each package becomes independently versioned and releasable. The root go.mod file has been removed, and each package directory now contains its own go.mod and go.sum files. Additionally, the GORM-related functionality has been extracted from the inssql package into a new insgorm package.
Key Changes:
- Converted repository to multi-module structure with independent versioning per package
- Split
inssqlinto two packages:inssql(pure database/sql) andinsgorm(GORM wrapper) - Updated README with breaking changes documentation and migration guide
Reviewed changes
Copilot reviewed 19 out of 31 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| go.mod | Removed root go.mod file (entire monolithic module removed) |
| go.sum | Removed root go.sum file |
| README.md | Added breaking changes notice and multi-module migration guide |
| inscacheable/go.mod | Added independent go.mod for inscacheable package |
| inscodeerr/go.mod | Added independent go.mod for inscodeerr package |
| insdash/go.mod | Added independent go.mod for insdash package |
| insgorm/go.mod | Added independent go.mod for new insgorm package |
| insgorm/gorm.go | Extracted GORM functionality from inssql |
| insgorm/gorm_mock.go | Extracted GORM mock functionality from inssql |
| inskinesis/go.mod | Added independent go.mod for inskinesis package |
| inslogger/go.mod | Added independent go.mod for inslogger package |
| insredis/go.mod | Added independent go.mod for insredis package |
| insrequester/go.mod | Added independent go.mod for insrequester package |
| inssentry/go.mod | Added independent go.mod for inssentry package |
| inssimpleroute/go.mod | Added independent go.mod for inssimpleroute package |
| inssql/go.mod | Added independent go.mod for inssql package |
| inssql/sql.go | Removed GORM-related functions (moved to insgorm) |
| inssql/sql_mock.go | Removed GORM mock function (moved to insgorm) |
| inssqs/go.mod | Added independent go.mod for inssqs package |
| insssm/go.mod | Added independent go.mod for insssm package |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
sezaakgun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tek yorumum aynı go version olmaları iyi olur
No description provided.