|
|
@ -5,7 +5,9 @@ import (
|
|
|
|
"os"
|
|
|
|
"os"
|
|
|
|
"runtime"
|
|
|
|
"runtime"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"github.com/tal-tech/go-zero/core/load"
|
|
|
|
"github.com/tal-tech/go-zero/core/logx"
|
|
|
|
"github.com/tal-tech/go-zero/core/logx"
|
|
|
|
|
|
|
|
"github.com/tal-tech/go-zero/core/stat"
|
|
|
|
"github.com/tal-tech/go-zero/tools/goctl/api/apigen"
|
|
|
|
"github.com/tal-tech/go-zero/tools/goctl/api/apigen"
|
|
|
|
"github.com/tal-tech/go-zero/tools/goctl/api/dartgen"
|
|
|
|
"github.com/tal-tech/go-zero/tools/goctl/api/dartgen"
|
|
|
|
"github.com/tal-tech/go-zero/tools/goctl/api/docgen"
|
|
|
|
"github.com/tal-tech/go-zero/tools/goctl/api/docgen"
|
|
|
@ -531,6 +533,8 @@ var (
|
|
|
|
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
func main() {
|
|
|
|
logx.Disable()
|
|
|
|
logx.Disable()
|
|
|
|
|
|
|
|
load.Disable()
|
|
|
|
|
|
|
|
stat.DisableLog()
|
|
|
|
|
|
|
|
|
|
|
|
app := cli.NewApp()
|
|
|
|
app := cli.NewApp()
|
|
|
|
app.Usage = "a cli tool to generate code"
|
|
|
|
app.Usage = "a cli tool to generate code"
|
|
|
|