Skip to content

fix: use value receivers for MarshalXXX methods #1004

fix: use value receivers for MarshalXXX methods

fix: use value receivers for MarshalXXX methods #1004

Triggered via push July 3, 2024 16:06
Status Success
Total duration 1m 4s
Artifacts

linters.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Lint: comid/comid.go#L225
hugeParam: o is heavy (112 bytes); consider passing it by pointer (gocritic)
Lint: comid/comid.go#L250
hugeParam: o is heavy (112 bytes); consider passing it by pointer (gocritic)
Lint: comid/comid.go#L269
hugeParam: o is heavy (112 bytes); consider passing it by pointer (gocritic)
Lint: comid/comid.go#L277
hugeParam: o is heavy (112 bytes); consider passing it by pointer (gocritic)
Lint: comid/flagsmap.go#L200
hugeParam: o is heavy (88 bytes); consider passing it by pointer (gocritic)
Lint: comid/flagsmap.go#L210
hugeParam: o is heavy (88 bytes); consider passing it by pointer (gocritic)
Lint: comid/flagsmap.go#L215
hugeParam: o is heavy (88 bytes); consider passing it by pointer (gocritic)
Lint: comid/measurement.go#L377
hugeParam: o is heavy (112 bytes); consider passing it by pointer (gocritic)
Lint: comid/measurement.go#L387
hugeParam: o is heavy (112 bytes); consider passing it by pointer (gocritic)
Lint: comid/measurement.go#L391
hugeParam: o is heavy (112 bytes); consider passing it by pointer (gocritic)
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2, actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/