Skip to content

Commit

Permalink
feat(fxgcppubsub): Added Avro and Protobuf schemas support
Browse files Browse the repository at this point in the history
  • Loading branch information
ekkinox committed Jun 10, 2024
1 parent cd12977 commit d7ed86d
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 318 deletions.
2 changes: 0 additions & 2 deletions fxgcppubsub/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@ linters:
- bodyclose
- containedctx
- contextcheck
- cyclop
- decorder
- dogsled
- durationcheck
- errcheck
- errchkjson
- errname
- errorlint
- exhaustive
- forbidigo
- forcetypeassert
- gocognit
Expand Down
151 changes: 0 additions & 151 deletions fxgcppubsub/healthcheck/subscription_test.go

This file was deleted.

133 changes: 0 additions & 133 deletions fxgcppubsub/healthcheck/topic_test.go

This file was deleted.

4 changes: 4 additions & 0 deletions fxgcppubsub/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ func NewFxGcpPubSubTestServer() *pstest.Server {
}

// FxGcpPubSubClientParam allows injection of the required dependencies in [NewFxGcpPubSubClient].
//
//nolint:containedctx
type FxGcpPubSubClientParam struct {
fx.In
LifeCycle fx.Lifecycle
Expand Down Expand Up @@ -84,6 +86,8 @@ func NewFxGcpPubSubClient(p FxGcpPubSubClientParam) (*pubsub.Client, error) {
}

// FxGcpPubSubSchemaClientParam allows injection of the required dependencies in [NewFxGcpPubSubSchemaClient].
//
//nolint:containedctx
type FxGcpPubSubSchemaClientParam struct {
fx.In
LifeCycle fx.Lifecycle
Expand Down
Loading

0 comments on commit d7ed86d

Please sign in to comment.