✨ 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:
@@ -68,6 +68,16 @@ fmt: ## Format Go code
|
||||
@echo "Formatting code..."
|
||||
@go fmt ./...
|
||||
|
||||
.PHONY: wire
|
||||
wire: ## Generate wire dependency injection code
|
||||
@command -v wire >/dev/null || (echo "Please install wire (go install github.com/google/wire/cmd/wire@latest)"; exit 1)
|
||||
@echo "Generating wire code..."
|
||||
@wire ./pkg/di
|
||||
|
||||
.PHONY: generate
|
||||
generate: wire ## Generate all code (wire, etc.)
|
||||
@echo "Code generation complete"
|
||||
|
||||
.PHONY: deps
|
||||
deps: ## Sync go.mod / go.sum
|
||||
@echo "Tidying go modules..."
|
||||
|
||||
Reference in New Issue
Block a user