The mediator pattern implementation #71
Annotations
10 errors
golangci-lint:
grade/internal/infrastructure/seedwork/mediator/untyped_test.go#L229
Error return value of `m.Register` is not checked (errcheck)
|
golangci-lint:
grade/internal/infrastructure/seedwork/mediator/untyped_test.go#L231
Error return value of `m.Subscribe` is not checked (errcheck)
|
golangci-lint:
grade/internal/infrastructure/seedwork/mediator/untyped_test.go#L232
Error return value of `m.Subscribe` is not checked (errcheck)
|
golangci-lint:
grade/internal/infrastructure/seedwork/mediator/reflection.go#L32
paramTypeCombine: func(initiator any, handler any) error could be replaced with func(initiator, handler any) error (gocritic)
|
golangci-lint:
grade/internal/infrastructure/seedwork/mediator/untyped.go#L48
paramTypeCombine: func(command any, handler any) (disposable.Disposable, error) could be replaced with func(command, handler any) (disposable.Disposable, error) (gocritic)
|
golangci-lint:
grade/internal/infrastructure/seedwork/mediator/untyped.go#L72
paramTypeCombine: func(event any, handler any) (disposable.Disposable, error) could be replaced with func(event, handler any) (disposable.Disposable, error) (gocritic)
|
golangci-lint:
grade/internal/infrastructure/seedwork/mediator/untyped.go#L93
paramTypeCombine: func(event any, handler any) could be replaced with func(event, handler any) (gocritic)
|
golangci-lint:
grade/internal/infrastructure/seedwork/mediator/untyped_test.go#L14
field `name` is unused (unused)
|
golangci-lint:
grade/internal/infrastructure/seedwork/mediator/untyped_test.go#L17
field `name` is unused (unused)
|
golangci-lint:
grade/internal/infrastructure/seedwork/mediator/untyped.go#L109
S1005: unnecessary assignment to the blank identifier (gosimple)
|
The logs for this run have expired and are no longer available.
Loading