reviewdog [golangci] report
reported by reviewdog 🐶
Findings (7)
vela/context.go|1 col 18| Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
vela/deployment.go|1 col 18| Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
vela/doc.go|1 col 18| Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
vela/queue_test.go|13| File is not goimports
-ed (goimports)
vela/schedule_test.go|151 col 31| G601: Implicit memory aliasing in for loop. (gosec)
vela/client.go|62 col 3| client
is unused (structcheck)
vela/queue_test.go|8 col 18| directive //nolint:goimports
should provide explanation such as //nolint:goimports // this is why
(nolintlint)
Filtered Findings (0)
Annotations
Check failure on line 1 in vela/context.go
github-actions / golangci
[golangci] vela/context.go#L1
Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
Raw output
vela/context.go:1:18: Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
// Copyright (c) 2022 Target Brands, Inc. All rights reserved.
^
Check failure on line 1 in vela/deployment.go
github-actions / golangci
[golangci] vela/deployment.go#L1
Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
Raw output
vela/deployment.go:1:18: Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
// Copyright (c) 2022 Target Brands, Inc. All rights reserved.
^
Check failure on line 1 in vela/doc.go
github-actions / golangci
[golangci] vela/doc.go#L1
Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
Raw output
vela/doc.go:1:18: Expected:2023, Actual: 2022 Target Brands, Inc. All rights reserved. (goheader)
// Copyright (c) 2022 Target Brands, Inc. All rights reserved.
^
Check failure on line 13 in vela/queue_test.go
github-actions / golangci
[golangci] vela/queue_test.go#L13
File is not `goimports`-ed (goimports)
Raw output
vela/queue_test.go:13: File is not `goimports`-ed (goimports)
"net/http"
"net/http/httptest"
"testing"
Check failure on line 151 in vela/schedule_test.go
github-actions / golangci
[golangci] vela/schedule_test.go#L151
G601: Implicit memory aliasing in for loop. (gosec)
Raw output
vela/schedule_test.go:151:31: G601: Implicit memory aliasing in for loop. (gosec)
if !reflect.DeepEqual(got, &test.want) {
^
Check failure on line 62 in vela/client.go
github-actions / golangci
[golangci] vela/client.go#L62
`client` is unused (structcheck)
Raw output
vela/client.go:62:3: `client` is unused (structcheck)
client *Client
^
Check failure on line 8 in vela/queue_test.go
github-actions / golangci
[golangci] vela/queue_test.go#L8
directive `//nolint:goimports` should provide explanation such as `//nolint:goimports // this is why` (nolintlint)
Raw output
vela/queue_test.go:8:18: directive `//nolint:goimports` should provide explanation such as `//nolint:goimports // this is why` (nolintlint)
"encoding/json" //nolint:goimports
^