remove deprecated model generator

This commit is contained in:
kingxt
2020-08-10 18:15:22 +08:00
committed by Kevin Wan
parent a71a11b7c5
commit 952de5eacd

View File

@@ -16,7 +16,6 @@ import (
"github.com/tal-tech/go-zero/tools/goctl/configgen"
"github.com/tal-tech/go-zero/tools/goctl/docker"
"github.com/tal-tech/go-zero/tools/goctl/feature"
"github.com/tal-tech/go-zero/tools/goctl/model/mongomodel"
"github.com/urfave/cli"
)
@@ -181,23 +180,6 @@ var (
Usage: "the target dir",
},
},
Subcommands: []cli.Command{
{
Name: "mongo",
Usage: "generate mongoModel files for provided somemongo.go in go file",
Flags: []cli.Flag{
cli.StringFlag{
Name: "src, s",
Usage: "the src file",
},
cli.StringFlag{
Name: "cache",
Usage: "need cache code([yes/no] default value is no)",
},
},
Action: mongomodel.ModelCommond,
},
},
},
{
Name: "config",