diff --git a/tools/goctl/model/cmd.go b/tools/goctl/model/cmd.go index 9dd1746f..935bbccf 100644 --- a/tools/goctl/model/cmd.go +++ b/tools/goctl/model/cmd.go @@ -85,7 +85,7 @@ func init() { mysqlCmd.AddCommand(datasourceCmd) mysqlCmd.AddCommand(ddlCmd) - mysqlCmd.AddCommand(pgCmd) Cmd.AddCommand(mysqlCmd) Cmd.AddCommand(mongoCmd) + Cmd.AddCommand(pgCmd) }