# protoc-gen-code-generator **Repository Path**: lcs85/protoc-gen-code-generator ## Basic Information - **Project Name**: protoc-gen-code-generator - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-12 - **Last Updated**: 2021-04-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 代码生成器 > 修改自 [kratos v2](https://github.com/go-kratos/kratos/tree/main/cmd/protoc-gen-go-http) > > 参考 [mohuishou/protoc-gen-go-gin](https://github.com/mohuishou/protoc-gen-go-gin) 从 protobuf 文件中生成使用 gin 的 http rpc 服务 ## TODO - [x] 添加gin 代码生成 - [ ] 添加go-kit等代码生成 - [ ] 添加根据model 生成增删改查 ## Command ```shell protoc -I=. -I=/Users/scott.lee/Development/go/src \ --go_out ./proto --go_opt=paths=source_relative \ --code-generator_out ./proto --code-generator_opt=paths=source_relative \ ./proto/user.proto ```