✨ Add configuration for Code Review Automation and enhance .gitignore. Introduce .coderabbit.yml for automated reviews with profiles for correctness, maintainability, security, and performance. Update paths to include relevant directories and exclude generated files. Modify .gitignore to include coverage reports and generated files. Refactor Docker Compose to use updated paths for database initialization scripts. Update Go module dependencies and enhance Makefile with new code generation tasks. Transition domain models to a new DTO structure for better separation of concerns.
This commit is contained in:
@@ -108,6 +108,23 @@ tasks:
|
||||
- echo "Linting code..."
|
||||
- golangci-lint run ./...
|
||||
|
||||
wire:
|
||||
desc: Generate wire dependency injection code
|
||||
cmds:
|
||||
- |
|
||||
if ! command -v wire >/dev/null; then
|
||||
echo "Install wire: go install github.com/google/wire/cmd/wire@latest"
|
||||
exit 1
|
||||
fi
|
||||
- echo "Generating wire code..."
|
||||
- wire ./pkg/di
|
||||
|
||||
generate:
|
||||
desc: Generate all code (wire, etc.)
|
||||
cmds:
|
||||
- task: wire
|
||||
- echo "Code generation complete"
|
||||
|
||||
deps:
|
||||
desc: Sync go.mod / go.sum
|
||||
cmds:
|
||||
|
||||
Reference in New Issue
Block a user