Skip to content

Commit b3bda17

Browse files
committed
feat(realworld): Move go-orb/httpgateway -> go-orb/service/httpgateway
1 parent 2067955 commit b3bda17

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

realworld/cmd/realworld/pkg/monolith/wire.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
httpgatewayserviceproxy "github.com/go-orb/examples/realworld/service/httpgateway/pkg/serviceproxy"
1313
lobbyservice "github.com/go-orb/examples/realworld/service/lobby/pkg/service"
14-
httpgatewayservice "github.com/go-orb/httpgateway/pkg/service"
14+
httpgatewayservice "github.com/go-orb/service/httpgateway/pkg/service"
1515
)
1616

1717
// Runner is wire type for the Runner function.

realworld/cmd/realworld/pkg/monolith/wire_gen.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

realworld/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ go 1.23.6
44

55
require (
66
github.com/go-orb/go-orb v0.2.2-0.20250307215142-2a4889953172
7-
github.com/go-orb/httpgateway v0.0.0-20250307214141-9a701b6f061f
87
github.com/go-orb/plugins-experimental/registry/mdns v0.0.0-20250307143039-087f14085771
98
github.com/go-orb/plugins/cli/urfave v0.0.0-20250307213404-581f83efe070
109
github.com/go-orb/plugins/client/middleware/log v0.1.1-0.20250307213404-581f83efe070
@@ -17,6 +16,7 @@ require (
1716
github.com/go-orb/plugins/log/slog v0.1.1-0.20250307213404-581f83efe070
1817
github.com/go-orb/plugins/registry/memory v0.0.0-20250307213404-581f83efe070
1918
github.com/go-orb/plugins/server/grpc v0.1.1-0.20250307213404-581f83efe070
19+
github.com/go-orb/service/httpgateway v0.0.0-20250308154101-ef3cf24db6e7
2020
github.com/go-orb/wire v0.7.0
2121
google.golang.org/grpc v1.71.0
2222
google.golang.org/protobuf v1.36.5

realworld/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
2626
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
2727
github.com/go-orb/go-orb v0.2.2-0.20250307215142-2a4889953172 h1:pJqXzimN0rGQODGGbokxbTVm9eKY6DprXpGMd/FJRA4=
2828
github.com/go-orb/go-orb v0.2.2-0.20250307215142-2a4889953172/go.mod h1:TO/Gnyh+NGy5S5vZj9sYf+U9LSFhwUeAxdlxiPtj6PY=
29-
github.com/go-orb/httpgateway v0.0.0-20250307214141-9a701b6f061f h1:y4eNuD3NY5d4Ddr8QrDq4a1pGcCsnIBs2LIWMpbXEm8=
30-
github.com/go-orb/httpgateway v0.0.0-20250307214141-9a701b6f061f/go.mod h1:rm56DTYuZklRoynu38H1RtdNn946VElZEdjFx4Qn6xY=
3129
github.com/go-orb/plugins-experimental/registry/mdns v0.0.0-20250307143039-087f14085771 h1:k7uXmXjBp1OUS8X2Tozxk1uCHBhuTz8c954UrK+XWgw=
3230
github.com/go-orb/plugins-experimental/registry/mdns v0.0.0-20250307143039-087f14085771/go.mod h1:v5pn0+LTiXr6UU3taVC2YCiaqq/Y6tHkqI7xt/ITlps=
3331
github.com/go-orb/plugins/cli/urfave v0.0.0-20250307213404-581f83efe070 h1:CFJcYaOr+eJX4b9jDpRtmBO2PsUmRDVvZqh8FS7bV50=
@@ -56,6 +54,8 @@ github.com/go-orb/plugins/registry/tests v0.1.1-0.20250307141712-ef020f968e94 h1
5654
github.com/go-orb/plugins/registry/tests v0.1.1-0.20250307141712-ef020f968e94/go.mod h1:ynB9vBn3N+MrH0KhkW7mIp9khU/JT+bIlVJ5VpWhHRU=
5755
github.com/go-orb/plugins/server/grpc v0.1.1-0.20250307213404-581f83efe070 h1:D824ckLVnn+5WOAMmdzsAf/JXCPWxvhd6odOfM0o5rA=
5856
github.com/go-orb/plugins/server/grpc v0.1.1-0.20250307213404-581f83efe070/go.mod h1:3DcNKyqiQYa6WDT3dYkkAzS57YQnZQn8rdn1qxBpniQ=
57+
github.com/go-orb/service/httpgateway v0.0.0-20250308154101-ef3cf24db6e7 h1:SCKuz1Ys7bvTR9tqkM4vvZbhMoechG2ndCSID7+oh90=
58+
github.com/go-orb/service/httpgateway v0.0.0-20250308154101-ef3cf24db6e7/go.mod h1:vPKvOtrg9sEIxh6jhSuqh6K84Dsy44oU0oVBNACMyq8=
5959
github.com/go-orb/wire v0.7.0 h1:P9S100bM8nhAgW6e7EJrbi5vzNXCsP/Q1ByIEV5+hUQ=
6060
github.com/go-orb/wire v0.7.0/go.mod h1:/ID7hS6X2F32YnuRgh+k8R/sjucoh4qciqe7dq2dY7g=
6161
github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s=

realworld/service/httpgateway/pkg/serviceproxy/wire.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"github.com/go-orb/go-orb/client"
1010
"github.com/go-orb/wire"
1111

12-
httpgateway "github.com/go-orb/httpgateway"
13-
httpgatewayservice "github.com/go-orb/httpgateway/pkg/service"
12+
httpgateway "github.com/go-orb/service/httpgateway"
13+
httpgatewayservice "github.com/go-orb/service/httpgateway/pkg/service"
1414
)
1515

1616
// Name is the service name.

realworld/service/httpgateway/pkg/serviceproxy/wire_gen.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

realworld/service/lobby/pkg/handler/handler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ import (
1010
"github.com/go-orb/go-orb/log"
1111
"github.com/go-orb/go-orb/server"
1212
"github.com/go-orb/go-orb/types"
13-
httpgateway "github.com/go-orb/httpgateway"
13+
httpgateway "github.com/go-orb/service/httpgateway"
1414
"google.golang.org/protobuf/types/known/emptypb"
1515

16-
"github.com/go-orb/httpgateway/proto/httpgateway_v1"
16+
"github.com/go-orb/service/httpgateway/proto/httpgateway_v1"
1717
)
1818

1919
var _ types.Component = (*Handler)(nil)

realworld/service/lobby/pkg/service/wire_gen.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)