From 6ec695064b00cf7a79f4e022dae1bf1b9fb2f35e Mon Sep 17 00:00:00 2001 From: Tony Chen Date: Sat, 19 Feb 2022 16:48:31 +0800 Subject: [PATCH] move container group to internal (#1827) --- {container => internal}/group/example_test.go | 0 {container => internal}/group/group.go | 0 {container => internal}/group/group_test.go | 0 middleware/circuitbreaker/circuitbreaker.go | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) rename {container => internal}/group/example_test.go (100%) rename {container => internal}/group/group.go (100%) rename {container => internal}/group/group_test.go (100%) diff --git a/container/group/example_test.go b/internal/group/example_test.go similarity index 100% rename from container/group/example_test.go rename to internal/group/example_test.go diff --git a/container/group/group.go b/internal/group/group.go similarity index 100% rename from container/group/group.go rename to internal/group/group.go diff --git a/container/group/group_test.go b/internal/group/group_test.go similarity index 100% rename from container/group/group_test.go rename to internal/group/group_test.go diff --git a/middleware/circuitbreaker/circuitbreaker.go b/middleware/circuitbreaker/circuitbreaker.go index f6eb5f416..1b4fa08f8 100644 --- a/middleware/circuitbreaker/circuitbreaker.go +++ b/middleware/circuitbreaker/circuitbreaker.go @@ -5,8 +5,8 @@ import ( "github.com/go-kratos/aegis/circuitbreaker" "github.com/go-kratos/aegis/circuitbreaker/sre" - "github.com/go-kratos/kratos/v2/container/group" "github.com/go-kratos/kratos/v2/errors" + "github.com/go-kratos/kratos/v2/internal/group" "github.com/go-kratos/kratos/v2/middleware" "github.com/go-kratos/kratos/v2/transport" )