-
Notifications
You must be signed in to change notification settings - Fork 16
Feat: Go modular application #103
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
- Implemented a new logger middleware for Echo framework to log HTTP requests and responses. - Added user agent summarization and latency formatting in logs. - Integrated the logger middleware into the HTTP server. feat: create user module with CRUD operations - Developed user module with handlers for creating, listing, retrieving, updating, and deleting users. - Implemented user validation and error handling in the user service. - Added user repository for database interactions using pgxpool. chore: update go.sum with new dependencies - Added new dependencies for user agent parsing and validation. - Updated existing dependencies to their latest versions. fix: adjust swagger generation command - Modified the swag init command to include the modules directory for generating API documentation.
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 pull request significantly restructures the project with extensive code style and dependency updates, along with the introduction of a new Go modular monolith application template.
- Updated code style across the entire codebase to use consistent double quotes for string literals
- Modernized dependencies across all packages and applications
- Added a comprehensive Go modular monolith application template with repository, service, and handler layers
Reviewed Changes
Copilot reviewed 263 out of 1218 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
packages/shared-ui | Style formatting updates (single to double quotes), dependency version updates |
apps/strapi-cms | Code style consistency improvements and Strapi version updates |
apps/react-ssr | Formatting updates and React Router/dependency version bumps |
apps/react-app | Similar style and dependency updates as react-ssr |
apps/nextjs-app | Style consistency and test setup improvements |
internal/stubs | New Go module templates for dummy service implementation |
internal/cmd | Code formatting improvements for generate-app command |
root files | Various configuration updates, dependency bumps, and new build scripts |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
# Conflicts: # apps/react-ssr/tsconfig.json # template-react-ssr/tsconfig.json
Description 📋
Caution
This pull request includes some huge updates, expect for breaking changes.
Features:
.env.example
command to generate an example app configuration.TODO:
Type of change 🤔
Please tick any that are relevant to this PR and remove any that aren't.
Submission checklist ✅