# generate-code **Repository Path**: liufeihua/generate-code ## Basic Information - **Project Name**: generate-code - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-04-12 - **Last Updated**: 2025-10-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README > 基础代码生成工具 ## 安装 ```shell go install github.com/feihua/generate-code@latest generate-code golang zero --dsn "root:123456@tcp(127.0.0.1:3306)/demo" --tableNames sys_ --prefix sys_ --rpcClient sysclient --author liufeihua ``` ## 参数解释: ``` dsn: 请输入数据库的地址 tableNames: 请输入表名称 prefix: 生成表时候去掉前缀 author: 请输入作者名称 rpcClient请输入生成rpc的模块名称 ```