remove deprecated model generator
This commit is contained in:
@@ -16,7 +16,6 @@ import (
|
|||||||
"github.com/tal-tech/go-zero/tools/goctl/configgen"
|
"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/docker"
|
||||||
"github.com/tal-tech/go-zero/tools/goctl/feature"
|
"github.com/tal-tech/go-zero/tools/goctl/feature"
|
||||||
"github.com/tal-tech/go-zero/tools/goctl/model/mongomodel"
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -181,23 +180,6 @@ var (
|
|||||||
Usage: "the target dir",
|
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",
|
Name: "config",
|
||||||
|
|||||||
Reference in New Issue
Block a user