Skip to content

style: linter error

style: linter error #2

Triggered via pull request September 8, 2024 21:28
Status Failure
Total duration 35s
Artifacts

linting.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: types/event/event.go#L29
hugeParam: f is heavy (120 bytes); consider passing it by pointer (gocritic)
lint: types/event/event.go#L107
sprintfQuotedString: use %q instead of "%s" for quoted strings (gocritic)
lint: types/envelope/envelope.go#L80
hugeParam: _ is heavy (112 bytes); consider passing it by pointer (gocritic)
lint: types/envelope/envelope.go#L105
hugeParam: v is heavy (112 bytes); consider passing it by pointer (gocritic)
lint: types/envelope/envelope.go#L404
hugeParam: _ is heavy (112 bytes); consider passing it by pointer (gocritic)
lint: types/envelope/envelope.go#L426
hugeParam: v is heavy (112 bytes); consider passing it by pointer (gocritic)
lint: types/kind.go#L15
Comment should end in a period (godot)
lint: types/filter/filter_test.go#L50
append to slice `filters` with non-zero initialized length (makezero)
lint: types/filter/filter_test.go#L64
append to slice `filters` with non-zero initialized length (makezero)
lint: types/event/event_test.go#L72
append to slice `events` with non-zero initialized length (makezero)