From 8be47b9c99ce11b156c4834a138df1e16abbb9db Mon Sep 17 00:00:00 2001 From: anqiansong Date: Mon, 6 Jun 2022 19:42:31 +0800 Subject: [PATCH] Fix pg subcommand level error (#1979) --- tools/goctl/model/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }