Skip to content

Commit 8eb62df

Browse files
authored
golang filter: move go.mod & go.sum to the root directory. (#26606)
Signed-off-by: doujiang24 <[email protected]>
1 parent 83f9eae commit 8eb62df

File tree

11 files changed

+18
-18
lines changed

11 files changed

+18
-18
lines changed

api/go.mod

Whitespace-only changes.

contrib/golang/common/dso/test/test_data/go.mod

Whitespace-only changes.

contrib/golang/filters/http/test/test_data/basic/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ module example.com/basic
22

33
go 1.18
44

5-
require github.com/envoyproxy/envoy/contrib/golang v1.24.0
5+
require github.com/envoyproxy/envoy v1.24.0
66

7-
require google.golang.org/protobuf v1.28.1 // indirect
7+
require google.golang.org/protobuf v1.30.0 // indirect
88

9-
replace github.com/envoyproxy/envoy/contrib/golang => ../../../../../
9+
replace github.com/envoyproxy/envoy => ../../../../../../../

contrib/golang/filters/http/test/test_data/dummy/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ module example.com/dummy
22

33
go 1.18
44

5-
require github.com/envoyproxy/envoy/contrib/golang v1.24.0
5+
require github.com/envoyproxy/envoy v1.24.0
66

7-
require google.golang.org/protobuf v1.28.1 // indirect
7+
require google.golang.org/protobuf v1.30.0 // indirect
88

9-
replace github.com/envoyproxy/envoy/contrib/golang => ../../../../../
9+
replace github.com/envoyproxy/envoy => ../../../../../../../

contrib/golang/filters/http/test/test_data/echo/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.18
44

55
require (
66
github.com/cncf/xds/go v0.0.0-20230112175826-46e39c7b9b43
7-
github.com/envoyproxy/envoy/contrib/golang v1.24.0
7+
github.com/envoyproxy/envoy v1.24.0
88
)
99

1010
require (
@@ -15,7 +15,7 @@ require (
1515
golang.org/x/text v0.7.0 // indirect
1616
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 // indirect
1717
google.golang.org/grpc v1.25.1 // indirect
18-
google.golang.org/protobuf v1.28.1
18+
google.golang.org/protobuf v1.30.0
1919
)
2020

21-
replace github.com/envoyproxy/envoy/contrib/golang => ../../../../../
21+
replace github.com/envoyproxy/envoy => ../../../../../../../

contrib/golang/filters/http/test/test_data/passthrough/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ module example.com/passthrough
22

33
go 1.18
44

5-
require github.com/envoyproxy/envoy/contrib/golang v1.24.0
5+
require github.com/envoyproxy/envoy v1.24.0
66

7-
require google.golang.org/protobuf v1.28.1 // indirect
7+
require google.golang.org/protobuf v1.30.0 // indirect
88

9-
replace github.com/envoyproxy/envoy/contrib/golang => ../../../../../
9+
replace github.com/envoyproxy/envoy => ../../../../../../../

contrib/golang/filters/http/test/test_data/routeconfig/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.18
44

55
require (
66
github.com/cncf/xds/go v0.0.0-20230112175826-46e39c7b9b43
7-
github.com/envoyproxy/envoy/contrib/golang v1.24.0
7+
github.com/envoyproxy/envoy v1.24.0
88
)
99

1010
require (
@@ -15,7 +15,7 @@ require (
1515
golang.org/x/text v0.7.0 // indirect
1616
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 // indirect
1717
google.golang.org/grpc v1.25.1 // indirect
18-
google.golang.org/protobuf v1.28.1
18+
google.golang.org/protobuf v1.30.0
1919
)
2020

21-
replace github.com/envoyproxy/envoy/contrib/golang => ../../../../../
21+
replace github.com/envoyproxy/envoy => ../../../../../../../

examples/go.mod

Whitespace-only changes.

examples/golang/simple/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ go 1.18
66
// NOTICE: these lines could be generated automatically by "go mod tidy"
77
require (
88
github.com/cncf/xds/go v0.0.0-20230310173818-32f1caf87195
9-
github.com/envoyproxy/envoy/contrib/golang/filters/http/source/go v0.0.0-20230324062628-466cf15f1790
9+
github.com/envoyproxy/envoy v1.24.0
1010
google.golang.org/protobuf v1.30.0
1111
)
1212

@@ -21,4 +21,4 @@ require (
2121
)
2222

2323
// NOTICE: it's just for testing, please remove it.
24-
replace github.com/envoyproxy/envoy/contrib/golang => ../../../contrib/golang
24+
replace github.com/envoyproxy/envoy => ../../..
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/envoyproxy/envoy/contrib/golang
1+
module github.com/envoyproxy/envoy
22

33
go 1.18
44

0 commit comments

Comments
 (0)