Skip to content

Commit

Permalink
chore: update dependencies and add new test for MockClient
Browse files Browse the repository at this point in the history
- Add `google.golang.org/api` v0.181.0 to dependencies
- Update `cloud.google.com/go` from v0.112.1 to v0.113.0
- Add `cloud.google.com/go/auth` v0.4.2 and `cloud.google.com/go/auth/oauth2adapt` v0.2.2
- Update `cloud.google.com/go/iam` from v1.1.7 to v1.1.8
- Update `cloud.google.com/go/longrunning` from v0.5.5 to v0.5.7
- Update `cloud.google.com/go/storage` from v1.40.0 to v1.41.0
- Update `github.com/googleapis/gax-go/v2` from v2.12.3 to v2.12.4
- Update `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc` from v0.49.0 to v0.51.0
- Update `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` from v0.49.0 to v0.51.0
- Update `go.opentelemetry.io/otel` from v1.24.0 to v1.26.0
- Update `go.opentelemetry.io/otel/metric` from v1.24.0 to v1.26.0
- Update `go.opentelemetry.io/otel/trace` from v1.24.0 to v1.26.0
- Update `golang.org/x/sync` from v0.6.0 to v0.7.0
- Update `google.golang.org/appengine/v2` from v2.0.2 to v2.0.6
- Update `google.golang.org/genproto` and related packages to the latest versions
- Update `google.golang.org/grpc` from v1.62.1 to v1.64.0
- Update `google.golang.org/protobuf` from v1.33.0 to v1.34.1
- Add new test file `main_test.go` with a test for `MockClient` using `httptest` and `go-fcm`

Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed May 31, 2024
1 parent e51ad7a commit 45e8896
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 62 deletions.
38 changes: 20 additions & 18 deletions _example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,18 @@ go 1.21
require (
firebase.google.com/go/v4 v4.14.0
github.com/appleboy/go-fcm v0.1.5
google.golang.org/api v0.181.0
)

require (
cloud.google.com/go v0.112.1 // indirect
cloud.google.com/go v0.113.0 // indirect
cloud.google.com/go/auth v0.4.2 // indirect
cloud.google.com/go/auth/oauth2adapt v0.2.2 // indirect
cloud.google.com/go/compute/metadata v0.3.0 // indirect
cloud.google.com/go/firestore v1.15.0 // indirect
cloud.google.com/go/iam v1.1.7 // indirect
cloud.google.com/go/longrunning v0.5.5 // indirect
cloud.google.com/go/storage v1.40.0 // indirect
cloud.google.com/go/iam v1.1.8 // indirect
cloud.google.com/go/longrunning v0.5.7 // indirect
cloud.google.com/go/storage v1.41.0 // indirect
github.com/MicahParks/keyfunc v1.9.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/go-logr/logr v1.4.1 // indirect
Expand All @@ -24,27 +27,26 @@ require (
github.com/google/s2a-go v0.1.7 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
github.com/googleapis/gax-go/v2 v2.12.3 // indirect
github.com/googleapis/gax-go/v2 v2.12.4 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
go.opentelemetry.io/otel v1.24.0 // indirect
go.opentelemetry.io/otel/metric v1.24.0 // indirect
go.opentelemetry.io/otel/trace v1.24.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/metric v1.26.0 // indirect
go.opentelemetry.io/otel/trace v1.26.0 // indirect
golang.org/x/crypto v0.23.0 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/oauth2 v0.20.0 // indirect
golang.org/x/sync v0.6.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
golang.org/x/time v0.5.0 // indirect
google.golang.org/api v0.170.0 // indirect
google.golang.org/appengine/v2 v2.0.2 // indirect
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240314234333-6e1732d8331c // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240311132316-a219d84964c2 // indirect
google.golang.org/grpc v1.62.1 // indirect
google.golang.org/protobuf v1.33.0 // indirect
google.golang.org/appengine/v2 v2.0.6 // indirect
google.golang.org/genproto v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
)

replace github.com/appleboy/go-fcm => ../
Loading

0 comments on commit 45e8896

Please sign in to comment.