Skip to content

Make metadata not a pointer #30

Make metadata not a pointer

Make metadata not a pointer #30

Triggered via push January 3, 2025 00:32
Status Failure
Total duration 39s
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
build: counter_test.go#L39
cannot use &Metadata{…} (value of type *Metadata) as Metadata value in struct literal
build: counter_test.go#L53
cannot use &Metadata{…} (value of type *Metadata) as Metadata value in struct literal
build: counter_test.go#L63
cannot use &Metadata{…} (value of type *Metadata) as Metadata value in struct literal
build: transform/counters_to_cards_test.go#L19
undefined: ounters
build: transform/quotes_to_card_transformer_test.go#L16
cannot use &counters.Metadata{…} (value of type *counters.Metadata) as counters.Metadata value in struct literal
build: transform/simple_fow_counter_builder_test.go#L22
cannot use &counters.Metadata{…} (value of type *counters.Metadata) as counters.Metadata value in struct literal
build: transform/step_loss_back_counter_transformer_test.go#L22
cannot use nil as counters.Metadata value in struct literal
build: transform/step_loss_back_counter_transformer_test.go#L34
cannot use &counters.Metadata{…} (value of type *counters.Metadata) as counters.Metadata value in struct literal
build
Process completed with exit code 1.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636