Skip to content

Commit

Permalink
fix log
Browse files Browse the repository at this point in the history
更改日志方式
  • Loading branch information
xxjwxc committed Jun 5, 2020
1 parent 349b829 commit 36bb586
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 3 deletions.
3 changes: 1 addition & 2 deletions data/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"github.com/xxjwxc/public/mylog"

"github.com/xxjwxc/gormt/data/view/gtools"
"github.com/xxjwxc/public/tools"

"github.com/xxjwxc/gormt/data/config"

Expand Down Expand Up @@ -90,7 +89,7 @@ func initConfig() {
os.Exit(1)
} else {
mylog.Info("using database info:")
mylog.Info(tools.GetJSONStr(config.GetMysqlDbInfo(), true))
mylog.JSON(config.GetMysqlDbInfo())
}
}

Expand Down
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ require (
github.com/leodido/go-urn v1.2.0 // indirect
github.com/nicksnyder/go-i18n/v2 v2.0.3
github.com/spf13/cobra v1.0.0
github.com/xxjwxc/public v0.0.0-20200603130802-6d8f40dd3f0d
github.com/xxjwxc/public v0.0.0-20200605161710-72fc28675475
golang.org/x/text v0.3.2
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
gopkg.in/go-playground/validator.v9 v9.30.2
gopkg.in/yaml.v3 v3.0.0-20191120175047-4206685974f2
)

// replace github.com/xxjwxc/public => ../public
Loading

0 comments on commit 36bb586

Please sign in to comment.