Skip to content

Add JSONSerializer for records #67

Add JSONSerializer for records

Add JSONSerializer for records #67

Triggered via pull request February 28, 2024 18:55
Status Failure
Total duration 26s
Artifacts

lint.yml

on: pull_request
golangci-lint
14s
golangci-lint
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#L41
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)