-
Notifications
You must be signed in to change notification settings - Fork 8
Move more utility packages into x and organize them #498
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
…efault CSV catalog
…d update error wrapping functions to use codes for improved clarity and consistency.
…is closed properly and rename CodeToHTTP to HTTPStatusFromCode for clarity.
…and update mock messages for consistency in user and email details.
🚨 Bugbot Trial ExpiredYour team's Bugbot trial has expired. Please contact your team administrator to turn on the paid plan to continue using Bugbot. A team admin can activate the plan in the Cursor dashboard. |
…ncies and adjust logger types in gormx and grpcx packages
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 reorganizes and moves utility packages from the main QOR5 repository into the x module, consolidating them under a unified location for better organization and dependency management.
- Adds new utility packages for status handling, JSON operations, reflection utilities, normalization, and rate limiting
- Implements comprehensive protobuf integration with custom error handling and localization
- Provides HTTP/gRPC middleware and interceptors for cross-cutting concerns
Reviewed Changes
Copilot reviewed 89 out of 92 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| statusx/*.go | Complete status/error handling system with gRPC/HTTP integration and protobuf support |
| jsonx/*.go | JSON marshaling/unmarshaling utilities with protobuf compatibility |
| reflectx/make.go | Generic reflection utilities for creating initialized instances |
| normalize/*.go | Request normalization middleware for HTTP/gRPC/Connect |
| ratelimiterx/*.go | Rate limiting interceptors for gRPC and Connect |
| panicx/panic.go | Panic handling utilities |
| lox/must.go | Generic "must" utilities for error handling |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
No description provided.