Overview of cwgo features
maincwgo is an all-in-one code generation tool for CloudWeGo. It integrates the capabilities of Kitex and Hertz to improve development efficiency. Key features include:
- Engineering Templates: Generates MVC project layouts so developers can focus on business logic.
- Server & Client Generation: Generates Kitex and Hertz Server and Client code, providing encapsulated Clients for easy downstream calls.
- Database CURD Generation: Supports generating CURD (Create, Read, Update, Delete) code for both relational databases and document-based databases (currently supporting MongoDB via IDL like Thrift/Protobuf).
- Hertz Route Analysis: Analyzes Hertz projects to map the relationship between routes and route registration code.
- CLI Autocompletion: Generates scripts for command-line autocompletion.
- Backward Compatibility: Can be used as a fallback for standard
kitexandhztools.