What problem does it solve?
The codegen Skill solves the challenge of manual and error-prone code generation, providing automated creation of LiteORM code for typed columns, models, SQL annotations, and gorm tag conversion.
Core Features & Use Cases
- Typed Column Generation: Automatically create Go structs with typed columns from a live database.
- Model Generation: Generate model code directly from an existing database schema.
- SQL Annotation Parsing: Parse and convert SQL annotations to typed Go functions.
- Gorm Tag Conversion: Convert Gorm tags to LiteORM-compatible tags for seamless migration.
- Use Case: Streamline the development process by automatically generating LiteORM code based on database schemas, saving time and reducing errors.
Quick Start
Run the codegen skill with the --from-db flag to generate code from a live database.