cwgo
cwgo copied to clipboard
An all-in-one code generation tool for CloudWeGo
Inside ByteDance, there seems to be a platform called BAM, which can extract Thrift files from a specified code branch for automatic interface generation. Is there an open source project...
**Is your feature request related to a problem? Please describe.** No **Describe the solution you'd like** Generate api docs for api server(hertz/kitex), maybe integrating protoc/thrift plugin during the generation phase....
**Is your feature request related to a problem? Please describe.** Generate DB code based on IDL to reduce the amount of user-written code and reuse structures. **Describe the solution you'd...
**Is your feature request related to a problem? Please describe.** The code for gorm initialisation is placed in the db command. **Describe the solution you'd like** A clear and concise...
**Is your feature request related to a problem? Please describe.** - cwgo has no code generation capabilities of its own, which makes it a bit of a pain to support...
**Is your feature request related to a problem? Please describe.** Currently, cwgo's rpc and http commands have a lot of parameters, so passing the commands through a file configuration can...
#### What type of PR is this? #### What this PR does / why we need it (en: English/zh: Chinese): en: delete "dal" dir that is default generated, should use...
# 1. 题目描述 cwgo 是 CloudWeGo All in one 代码生成工具,整合了各个组件的优势,以提高开发者的体验,详细介绍见 https://www.cloudwego.io/zh/docs/cwgo/overview/ 。 目前 cwgo 整合 kitex 和 hz 是通过硬编码的形式整合,参数传递逻辑耦合严重,扩展能力差,并且 cwgo 工具现在的单元测试并不完善,本题目需要对 cwgo 的工具进行完善,增加灵活的扩展能力以及补充工具的单元测试。 目前 cwgo 不支持使用 IDL 替用户生成诸如限流、熔断、缓存、访问控制(鉴权)的代码,本题目同时需要完成cwgo 使用 pb...