Skip to content

The mediator pattern implementation #53

The mediator pattern implementation

The mediator pattern implementation #53

Triggered via pull request February 28, 2024 13:31
@comeuplatercomeuplater
synchronize #21
mediator
Status Failure
Total duration 3m 19s
Artifacts

deploy-main.yml

on: pull_request
lint
3m 8s
lint
Deploy Archi report HTML to GitHub Pages
13s
Deploy Archi report HTML to GitHub Pages
Matrix: Execute tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
lint: grade/internal/infrastructure/seedwork/mediator/mediator.go#L46
paramTypeCombine: func(command any, handler any) (disposable.Disposable, error) could be replaced with func(command, handler any) (disposable.Disposable, error) (gocritic)
lint: grade/internal/infrastructure/seedwork/mediator/mediator.go#L70
paramTypeCombine: func(event any, handler any) (disposable.Disposable, error) could be replaced with func(event, handler any) (disposable.Disposable, error) (gocritic)
lint: grade/internal/infrastructure/seedwork/mediator/mediator.go#L91
paramTypeCombine: func(event any, handler any) could be replaced with func(event, handler any) (gocritic)
lint: grade/internal/infrastructure/seedwork/mediator/mediator.go#L120
paramTypeCombine: func(initiator any, handler any) error could be replaced with func(initiator, handler any) error (gocritic)
lint: grade/internal/infrastructure/seedwork/deferred/deferred.go#L14
`onSuccess` is unused (structcheck)
lint: grade/internal/infrastructure/seedwork/deferred/deferred.go#L15
`onError` is unused (structcheck)
lint: grade/internal/infrastructure/seedwork/deferred/deferred.go#L16
`next` is unused (structcheck)
lint: grade/internal/infrastructure/seedwork/deferred/deferred.go#L20
`value` is unused (structcheck)
lint: grade/internal/infrastructure/seedwork/deferred/deferred.go#L21
`err` is unused (structcheck)
lint: grade/internal/infrastructure/seedwork/deferred/deferred.go#L22
`occurredErr` is unused (structcheck)
Execute tests (1.19)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Execute tests (1.18)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Execute tests (1.21.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Execute tests (1.20)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.