Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdGenerate = &cobra.Command{ Use: "generate", Aliases: []string{"gen"}, Short: "generate CRUD code from database schema", Long: "Generate complete Kratos microservice code (proto, ORM, service, server, wiring, config) from an existing database or SQL file. Module registration follows the target service form: anchor injection into hand-written wiring.go, or wire provider sets for legacy services. Example: gow generate", RunE: Run, SilenceUsage: true, }
CmdGenerate represents the generate command
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.