go-chi-handler
Go Chi Handler
Generate Chi HTTP handler implementations for a Go backend.
When to Use
- Create HTTP endpoint handlers for REST operations
- List, Create, Update, Delete, Get handlers
- Request/response DTO mapping with use case orchestration
- Swagger-annotated endpoints
Handler Structure
Location: internal/modules/<module>/http/chi/handler/<resource>_handler.go
package handler
More from cristiano-pacheco/ai-tools
go-gorm-model
Generate GORM persistence models. Use when creating database models using GORM.
78go-usecase
Generate use cases. Use when creating business operations, CRUD use cases, or any Execute-based module operation.
22go-enum
Generate type-safe enums with validation. Use when creating enums, defining constants, or adding enum types.
20go-cache
Generate Redis-backed Go cache. Invoke whenever user mentions cache or Redis.
20go-integration-tests
Generate Go integration tests with real database/infrastructure via itestkit containers. Use when testing use cases against real databases, verifying end-to-end flows, or adding integration test coverage.
20go-service
Generate services. Use for reusable single-responsibility business services or domain services.
18