Commit 0ec90d49 authored by kzkzzzz's avatar kzkzzzz

feat: 调整

parent 67e5d558
...@@ -117,8 +117,8 @@ func Fatalf(format string, args ...interface{}) { ...@@ -117,8 +117,8 @@ func Fatalf(format string, args ...interface{}) {
zapStdLog.log.Fatalf(format, args...) zapStdLog.log.Fatalf(format, args...)
} }
func Println(format string) { func Println(args ...interface{}) {
zapStdLog.log.Info(format) zapStdLog.log.Info(args...)
} }
func Printf(format string, args ...interface{}) { func Printf(format string, args ...interface{}) {
......
...@@ -5,7 +5,6 @@ go 1.18 ...@@ -5,7 +5,6 @@ go 1.18
require ( require (
github.com/asim/go-micro/plugins/registry/consul/v4 v4.0.0-20220530075002-cf51ddeb26c8 github.com/asim/go-micro/plugins/registry/consul/v4 v4.0.0-20220530075002-cf51ddeb26c8
github.com/asim/go-micro/plugins/server/grpc/v4 v4.0.0-20220511085541-13b76331ec6f github.com/asim/go-micro/plugins/server/grpc/v4 v4.0.0-20220511085541-13b76331ec6f
github.com/go-kratos/kratos/v2 v2.3.1
github.com/go-playground/locales v0.14.0 github.com/go-playground/locales v0.14.0
github.com/go-playground/universal-translator v0.18.0 github.com/go-playground/universal-translator v0.18.0
github.com/go-playground/validator/v10 v10.11.0 github.com/go-playground/validator/v10 v10.11.0
...@@ -26,6 +25,7 @@ require ( ...@@ -26,6 +25,7 @@ require (
github.com/ProtonMail/go-crypto v0.0.0-20220517143526-88bb52951d5b // indirect github.com/ProtonMail/go-crypto v0.0.0-20220517143526-88bb52951d5b // indirect
github.com/acomagu/bufpipe v1.0.3 // indirect github.com/acomagu/bufpipe v1.0.3 // indirect
github.com/armon/go-metrics v0.3.10 // indirect github.com/armon/go-metrics v0.3.10 // indirect
github.com/asim/go-micro/plugins/client/grpc/v4 v4.0.0-20220530075002-cf51ddeb26c8 // indirect
github.com/bitly/go-simplejson v0.5.0 // indirect github.com/bitly/go-simplejson v0.5.0 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
...@@ -78,12 +78,12 @@ require ( ...@@ -78,12 +78,12 @@ require (
go.uber.org/atomic v1.9.0 // indirect go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.8.0 // indirect go.uber.org/multierr v1.8.0 // indirect
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect
golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 // indirect golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
golang.org/x/net v0.0.0-20220607020251-c690dde0001d // indirect golang.org/x/net v0.0.0-20220607020251-c690dde0001d // indirect
golang.org/x/sys v0.0.0-20220608164250-635b8c9b7f68 // indirect golang.org/x/sys v0.0.0-20220608164250-635b8c9b7f68 // indirect
golang.org/x/text v0.3.7 // indirect golang.org/x/text v0.3.7 // indirect
golang.org/x/tools v0.1.10 // indirect golang.org/x/tools v0.1.11 // indirect
golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df // indirect golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f // indirect
google.golang.org/genproto v0.0.0-20220608133413-ed9918b62aac // indirect google.golang.org/genproto v0.0.0-20220608133413-ed9918b62aac // indirect
google.golang.org/grpc v1.47.0 // indirect google.golang.org/grpc v1.47.0 // indirect
gopkg.in/ini.v1 v1.66.4 // indirect gopkg.in/ini.v1 v1.66.4 // indirect
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment