Skip to content

The mediator pattern implementation #55

The mediator pattern implementation

The mediator pattern implementation #55

Triggered via pull request February 28, 2024 13:33
@comeuplatercomeuplater
synchronize #21
mediator
Status Failure
Total duration 57s
Artifacts

deploy-main.yml

on: pull_request
lint
11s
lint
Deploy Archi report HTML to GitHub Pages
16s
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/mediator/mediator_test.go#L14
`name` is unused (structcheck)
lint: grade/internal/infrastructure/seedwork/mediator/mediator_test.go#L11
`name` is unused (structcheck)
lint: grade/internal/infrastructure/seedwork/mediator/mediator.go#L106
S1005: unnecessary assignment to the blank identifier (gosimple)
lint: grade/internal/domain/seedwork/aggregate/event_sourced_aggregate.go#L14
`handlers` is unused (structcheck)
lint: grade/internal/domain/seedwork/aggregate/eventive_entity.go#L17
`pendingDomainEvents` is unused (structcheck)
lint: grade/internal/infrastructure/seedwork/deferred/deferred.go#L14
`onSuccess` is unused (structcheck)
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/.
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/.