Skip to content

chore: update wRPC

chore: update wRPC #17

Triggered via pull request October 2, 2024 19:04
Status Failure
Total duration 1m 34s
Artifacts

go.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
lint: wrpchttp/incoming_test.go#L162
cannot use bytes.NewReader([]byte(respBody)) (value of type *bytes.Reader) as io.ReadCloser value in struct literal: *bytes.Reader does not implement io.ReadCloser (missing method Close)
lint: wrpchttp/incoming_test.go#L163
cannot use fakeReceiver{…} (value of type fakeReceiver) as wrpc.Receiver[[]*wrpc.Tuple2[string, [][]uint8]] value in struct literal: fakeReceiver does not implement wrpc.Receiver[[]*wrpc.Tuple2[string, [][]uint8]] (missing method Close) (typecheck)
lint
issues found
build: wrpchttp/incoming_test.go#L162
cannot use bytes.NewReader([]byte(respBody)) (value of type *bytes.Reader) as io.ReadCloser value in struct literal: *bytes.Reader does not implement io.ReadCloser (missing method Close)
build: wrpchttp/incoming_test.go#L163
cannot use fakeReceiver{…} (value of type fakeReceiver) as wrpc.Receiver[[]*wrpc.Tuple2[string, [][]uint8]] value in struct literal: fakeReceiver does not implement wrpc.Receiver[[]*wrpc.Tuple2[string, [][]uint8]] (missing method Close)
build
Process completed with exit code 1.