Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gomicro-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizifeng
gomicro-base
Commits
0ec90d49
Commit
0ec90d49
authored
Jun 10, 2022
by
kzkzzzz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 调整
parent
67e5d558
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
368 additions
and
28 deletions
+368
-28
zap_std.go
common/logz/zap_std.go
+2
-2
go.mod
go.mod
+4
-4
go.sum
go.sum
+362
-22
No files found.
common/logz/zap_std.go
View file @
0ec90d49
...
@@ -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
{})
{
...
...
go.mod
View file @
0ec90d49
...
@@ -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.20220
106191415-9b9b3d81d5e3
// indirect
golang.org/x/mod v0.6.0-dev.0.20220
419223038-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.1
0
// indirect
golang.org/x/tools v0.1.1
1
// indirect
golang.org/x/xerrors v0.0.0-20220
517211312-f3a8303e98d
f // indirect
golang.org/x/xerrors v0.0.0-20220
609144429-65e65417b02
f // 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
...
...
go.sum
View file @
0ec90d49
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment