ucpr/mongo-streamer

View on GitHub
internal/mongo/change_stream.go

Summary

Maintainability
A
35 mins
Test Coverage
F
0%

Showing 1 of 1 total issue

Function NewChangeStream has 5 return statements (exceeds 4 allowed).
Confirmed

func NewChangeStream(ctx context.Context, params ChangeStreamParams, opts ...ChangeStreamOption) (*ChangeStream, error) {
chopts := &options.ChangeStreamOptions{}
for _, opt := range opts {
opt(&ChangeStreamOptions{chopts})
}
Severity: Major
Found in internal/mongo/change_stream.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status