mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-23 09:00:20 +08:00
disable load & stat logs for goctl (#773)
This commit is contained in:
parent
3e8cec5c78
commit
60450bab02
@ -5,7 +5,9 @@ import (
|
||||
"os"
|
||||
"runtime"
|
||||
|
||||
"github.com/tal-tech/go-zero/core/load"
|
||||
"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/dartgen"
|
||||
"github.com/tal-tech/go-zero/tools/goctl/api/docgen"
|
||||
@ -531,6 +533,8 @@ var (
|
||||
|
||||
func main() {
|
||||
logx.Disable()
|
||||
load.Disable()
|
||||
stat.DisableLog()
|
||||
|
||||
app := cli.NewApp()
|
||||
app.Usage = "a cli tool to generate code"
|
||||
|
Loading…
Reference in New Issue
Block a user