Skip to content

Add JSONSerializer for records #66

Add JSONSerializer for records

Add JSONSerializer for records #66

Triggered via pull request February 28, 2024 18:33
Status Failure
Total duration 3m 6s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
golangci-lint: opencdc/data.go#L91
type assertion must be checked (forcetypeassert)
golangci-lint: opencdc/data.go#L93
error returned from external package is unwrapped: sig: func github.com/goccy/go-json.Marshal(v interface{}) ([]byte, error) (wrapcheck)
golangci-lint: opencdc/serializer.go#L48
error returned from external package is unwrapped: sig: func github.com/goccy/go-json.MarshalContext(ctx context.Context, v interface{}, optFuncs ...github.com/goccy/go-json.EncodeOptionFunc) ([]byte, error) (wrapcheck)
golangci-lint
issues found
golangci-lint: opencdc/serializer_test.go#L64
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)