Skip to content

improve attachment struct names and use attachment type constants #2

improve attachment struct names and use attachment type constants

improve attachment struct names and use attachment type constants #2

Triggered via push March 15, 2024 17:47
Status Failure
Total duration 29s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: error_struct.go#L14
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: error_interface.go#L21
expressions should not be cuddled with blocks (wsl)
lint: error_test.go#L12
declarations should never be cuddled (wsl)
lint: error_test.go#L15
declarations should never be cuddled (wsl)
lint: error_test.go#L18
declarations should never be cuddled (wsl)
lint: attachment_detail_struct.go#L5
fieldalignment: struct with 32 pointer bytes could be 24 (govet)
lint: attachment_error_struct.go#L5
fieldalignment: struct with 32 pointer bytes could be 24 (govet)
lint: attachment_metadata_struct.go#L5
fieldalignment: struct with 32 pointer bytes could be 24 (govet)
lint: error_struct.go#L41
fieldalignment: struct with 72 pointer bytes could be 56 (govet)
lint: error_test.go#L195
test helper function should start from t.Helper() (thelper)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.