go-enum
Go Enum
Generate type-safe Go enums following GO modular architecture conventions.
When to Use
- Create type-safe enumerations for a module
- Define domain constants with validation
- Add validated enum types (e.g., status, category, method)
Pattern
Place enums in internal/modules/<module>/enum/<name>_enum.go.
More from cristiano-pacheco/ai-tools
go-gorm-model
Generate GORM persistence models. Use when creating database models using GORM.
78go-chi-handler
Generate Chi HTTP handlers, use case orchestration, Use for REST endpoint handlers or web http handlers.
26go-usecase
Generate use cases. Use when creating business operations, CRUD use cases, or any Execute-based module operation.
22go-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