Skip to content

Commit 52f5bb7

Browse files
committed
Update go modules
1 parent 629c44d commit 52f5bb7

File tree

7 files changed

+38
-58
lines changed

7 files changed

+38
-58
lines changed

go.mod

+9-10
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,21 @@ go 1.17
44

55
require (
66
github.com/golang/snappy v0.0.4
7-
github.com/klauspost/compress v1.17.0
8-
github.com/pierrec/lz4/v4 v4.1.18
9-
github.com/stretchr/testify v1.8.2
10-
google.golang.org/grpc v1.58.3
11-
google.golang.org/protobuf v1.31.0
7+
github.com/klauspost/compress v1.17.8
8+
github.com/pierrec/lz4/v4 v4.1.21
9+
github.com/stretchr/testify v1.9.0
10+
google.golang.org/grpc v1.64.0
11+
google.golang.org/protobuf v1.34.1
1212
)
1313

1414
require (
1515
github.com/davecgh/go-spew v1.1.1 // indirect
16-
github.com/golang/protobuf v1.5.3 // indirect
1716
github.com/kr/pretty v0.3.0 // indirect
1817
github.com/pmezard/go-difflib v1.0.0 // indirect
19-
golang.org/x/net v0.17.0 // indirect
20-
golang.org/x/sys v0.13.0 // indirect
21-
golang.org/x/text v0.13.0 // indirect
22-
google.golang.org/genproto/googleapis/rpc v0.0.0-20231012201019-e917dd12ba7a // indirect
18+
golang.org/x/net v0.22.0 // indirect
19+
golang.org/x/sys v0.18.0 // indirect
20+
golang.org/x/text v0.14.0 // indirect
21+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
2322
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
2423
gopkg.in/yaml.v3 v3.0.1 // indirect
2524
)

go.sum

+19-33
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,41 @@
11
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
2-
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
32
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
43
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
5-
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
6-
github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
7-
github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
84
github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM=
95
github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
10-
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
11-
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
12-
github.com/klauspost/compress v1.17.0 h1:Rnbp4K9EjcDuVuHtd0dgA4qNuv9yKDYKK1ulpJwgrqM=
13-
github.com/klauspost/compress v1.17.0/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE=
6+
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
7+
github.com/klauspost/compress v1.17.8 h1:YcnTYrq7MikUT7k0Yb5eceMmALQPYBW/Xltxn0NAMnU=
8+
github.com/klauspost/compress v1.17.8/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw=
149
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
1510
github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0=
1611
github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk=
1712
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
1813
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
1914
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
2015
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
21-
github.com/pierrec/lz4/v4 v4.1.18 h1:xaKrnTkyoqfh1YItXl56+6KJNVYWlEEPuAQW9xsplYQ=
22-
github.com/pierrec/lz4/v4 v4.1.18/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4=
16+
github.com/pierrec/lz4/v4 v4.1.21 h1:yOVMLb6qSIDP67pl/5F7RepeKYu/VmTyEXvuMI5d9mQ=
17+
github.com/pierrec/lz4/v4 v4.1.21/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4=
2318
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
2419
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
2520
github.com/rogpeppe/go-internal v1.6.1 h1:/FiVV8dS/e+YqF2JvO3yXRFbBLTIuSDkuC7aBOAvL+k=
2621
github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
27-
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
28-
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
29-
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
30-
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
31-
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
32-
github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8=
33-
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
34-
golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM=
35-
golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE=
36-
golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE=
37-
golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
38-
golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k=
39-
golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
40-
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
41-
google.golang.org/genproto/googleapis/rpc v0.0.0-20231012201019-e917dd12ba7a h1:a2MQQVoTo96JC9PMGtGBymLp7+/RzpFc2yX/9WfFg1c=
42-
google.golang.org/genproto/googleapis/rpc v0.0.0-20231012201019-e917dd12ba7a/go.mod h1:4cYg8o5yUbm77w8ZX00LhMVNl/YVBFJRYWDc0uYWMs0=
43-
google.golang.org/grpc v1.58.3 h1:BjnpXut1btbtgN/6sp+brB2Kbm2LjNXnidYujAVbSoQ=
44-
google.golang.org/grpc v1.58.3/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSsCJk0=
45-
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
46-
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
47-
google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=
48-
google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
22+
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
23+
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
24+
golang.org/x/net v0.22.0 h1:9sGLhx7iRIHEiX0oAJ3MRZMUCElJgy7Br1nO+AMN3Tc=
25+
golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
26+
golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=
27+
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
28+
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
29+
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
30+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 h1:NnYq6UN9ReLM9/Y01KWNOWyI5xQ9kbIms5GGJVwS/Yc=
31+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
32+
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
33+
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
34+
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
35+
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
4936
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
5037
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
5138
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
5239
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
53-
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
5440
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
5541
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

internal/klauspost_snappy/klauspost_snappy_test.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ func TestRoundTrip(t *testing.T) {
8888
done <- struct{}{}
8989
}()
9090

91-
ctx := context.Background()
92-
conn, err := grpc.DialContext(ctx, "bufnet",
91+
conn, err := grpc.NewClient("passthrough://bufnet",
9392
grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
9493
return lis.Dial()
9594
}),
@@ -101,7 +100,7 @@ func TestRoundTrip(t *testing.T) {
101100
})
102101

103102
client := testserver.NewTestServerClient(conn)
104-
resp, err := client.SendMessage(ctx, &testserver.MessageRequest{Request: message})
103+
resp, err := client.SendMessage(context.Background(), &testserver.MessageRequest{Request: message})
105104
require.NoError(t, err)
106105
assert.Equal(t, message, resp.Response)
107106
}

internal/lz4/lz4_test.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ func TestRoundTrip(t *testing.T) {
8888
done <- struct{}{}
8989
}()
9090

91-
ctx := context.Background()
92-
conn, err := grpc.DialContext(ctx, "bufnet",
91+
conn, err := grpc.NewClient("passthrough://bufnet",
9392
grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
9493
return lis.Dial()
9594
}),
@@ -101,7 +100,7 @@ func TestRoundTrip(t *testing.T) {
101100
})
102101

103102
client := testserver.NewTestServerClient(conn)
104-
resp, err := client.SendMessage(ctx, &testserver.MessageRequest{Request: message})
103+
resp, err := client.SendMessage(context.Background(), &testserver.MessageRequest{Request: message})
105104
require.NoError(t, err)
106105
assert.Equal(t, message, resp.Response)
107106
}

internal/s2/s2_test.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ func TestRoundTrip(t *testing.T) {
8484
done <- struct{}{}
8585
}()
8686

87-
ctx := context.Background()
88-
conn, err := grpc.DialContext(ctx, "bufnet",
87+
conn, err := grpc.NewClient("passthrough://bufnet",
8988
grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
9089
return lis.Dial()
9190
}),
@@ -97,7 +96,7 @@ func TestRoundTrip(t *testing.T) {
9796
})
9897

9998
client := testserver.NewTestServerClient(conn)
100-
resp, err := client.SendMessage(ctx, &testserver.MessageRequest{Request: message})
99+
resp, err := client.SendMessage(context.Background(), &testserver.MessageRequest{Request: message})
101100
require.NoError(t, err)
102101
assert.Equal(t, message, resp.Response)
103102
}

internal/snappy/snappy_test.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ func TestRoundTrip(t *testing.T) {
8888
done <- struct{}{}
8989
}()
9090

91-
ctx := context.Background()
92-
conn, err := grpc.DialContext(ctx, "bufnet",
91+
conn, err := grpc.NewClient("passthrough://bufnet",
9392
grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
9493
return lis.Dial()
9594
}),
@@ -101,7 +100,7 @@ func TestRoundTrip(t *testing.T) {
101100
})
102101

103102
client := testserver.NewTestServerClient(conn)
104-
resp, err := client.SendMessage(ctx, &testserver.MessageRequest{Request: message})
103+
resp, err := client.SendMessage(context.Background(), &testserver.MessageRequest{Request: message})
105104
require.NoError(t, err)
106105
assert.Equal(t, message, resp.Response)
107106
}

internal/zstd/zstd_test.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ func TestRoundTrip(t *testing.T) {
9494
done <- struct{}{}
9595
}()
9696

97-
ctx := context.Background()
98-
conn, err := grpc.DialContext(ctx, "bufnet",
97+
conn, err := grpc.NewClient("passthrough://bufnet",
9998
grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
10099
return lis.Dial()
101100
}),
@@ -107,7 +106,7 @@ func TestRoundTrip(t *testing.T) {
107106
})
108107

109108
client := testserver.NewTestServerClient(conn)
110-
resp, err := client.SendMessage(ctx, &testserver.MessageRequest{Request: message})
109+
resp, err := client.SendMessage(context.Background(), &testserver.MessageRequest{Request: message})
111110
require.NoError(t, err)
112111
assert.Equal(t, message, resp.Response)
113112
}

0 commit comments

Comments
 (0)