Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdExtract = &cobra.Command{ Use: "extract <source-service> <target-service> --obj <model> [--obj <model>...]", Short: "extract service modules from one service to another", Long: `Extract service modules (schema, repo, service, wiring, server) from source service to target service. Registration follows the target service form (anchor injection or legacy wire sets). This is used for microservice evolution — gradually splitting a monolithic service into smaller, independently deployable services. ORM type is auto-detected from source service directory structure. Examples: gow extract admin user --obj role gow extract admin user --obj role --obj permission gow extract admin user --obj role,permission gow extract admin user --obj role --orm ent gow extract admin user --obj role --keep-source`, Args: cobra.ExactArgs(2), RunE: runExtract, SilenceUsage: true, }
CmdExtract 提取命令
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.