From 7a6421370d0965805d93f465ed9eae1fe6d88b03 Mon Sep 17 00:00:00 2001 From: godcong Date: Mon, 11 Nov 2024 23:06:22 +0800 Subject: [PATCH] build(deps): update kratos to v2.8.2 and rename ggb to generic - Update github.com/go-kratos/kratos/v2 from v2.8.0 to v2.8.2 - Rename github.com/goexts/ggb to github.com/goexts/generic - Update import path in slog.go from ggb/settings to generic/settings --- go.mod | 4 ++-- go.sum | 8 ++++---- slog.go | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index c1ee539..f809612 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,6 @@ module github.com/origadmin/slog-kratos go 1.23.1 require ( - github.com/go-kratos/kratos/v2 v2.8.0 - github.com/goexts/ggb v0.0.9 + github.com/go-kratos/kratos/v2 v2.8.2 + github.com/goexts/generic v0.1.0 ) diff --git a/go.sum b/go.sum index 22a473f..0d32049 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,6 @@ -github.com/go-kratos/kratos/v2 v2.8.0 h1:qr27WRTRrI3o4jzJzNKf4XVVoMYIqnQD+4ws1C46yhM= -github.com/go-kratos/kratos/v2 v2.8.0/go.mod h1:+Vfe3FzF0d+BfMdajA11jT0rAyJWublRE/seZQNZVxE= -github.com/goexts/ggb v0.0.9 h1:eeDYkPTmxY0pQADKPzVvX0ggI4wj0Ak69eaSM3WOzJ0= -github.com/goexts/ggb v0.0.9/go.mod h1:iBsK4UK/IccpiOqPEt6EWNex8MWTIdKmS9HhnNRY8ZE= +github.com/go-kratos/kratos/v2 v2.8.2 h1:EsEA7AmPQ2YQQ0FZrDWO2HgBNqeWM8z/mWKzS5UkQaQ= +github.com/go-kratos/kratos/v2 v2.8.2/go.mod h1:+Vfe3FzF0d+BfMdajA11jT0rAyJWublRE/seZQNZVxE= +github.com/goexts/generic v0.1.0 h1:C6xn8/Xu4KBGSFvMP0CMAhle5HDqqX3iShE3EKV3WYI= +github.com/goexts/generic v0.1.0/go.mod h1:j/ZjWHYt+If6VjeHWvDhYKdoP+gAiAKpm0cu3yvKmfo= golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE= golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= diff --git a/slog.go b/slog.go index 8e8c628..be33ec3 100644 --- a/slog.go +++ b/slog.go @@ -10,7 +10,7 @@ import ( "time" "github.com/go-kratos/kratos/v2/log" - "github.com/goexts/ggb/settings" + "github.com/goexts/generic/settings" ) // Logger represents a structured logger.