Skip to content

Add MarshalJSON method #673

Add MarshalJSON method

Add MarshalJSON method #673

Triggered via pull request February 14, 2025 17:27
@shruggrshruggr
opened #82
json
Status Failure
Total duration 28s
Artifacts

run-tests.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
test (1.23.x, ubuntu-latest): b.go#L33
exported: exported method B.MarshalJSON should have comment or be unexported (revive)
test (1.23.x, ubuntu-latest): b.go#L48
exported: exported method B.UnmarshalJSON should have comment or be unexported (revive)
test (1.23.x, ubuntu-latest): b.go#L39
missing cases in switch of type b.EncodingType: b.EncodingBinary, b.EncodingGzip (exhaustive)
test (1.23.x, ubuntu-latest): b.go#L56
missing cases in switch of type b.EncodingType: b.EncodingBinary, b.EncodingGzip (exhaustive)
test (1.23.x, ubuntu-latest)
Process completed with exit code 2.
test (1.23.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/go-b/go-b. Supported file pattern: go.sum
test (1.23.x, ubuntu-latest)
Cache not found for keys: Linux-go-4e75844bc9a212475f6dc3dab4ab86151493e7bf097f0b5120357a3350508ba2, Linux-go-