-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
golangci-lint #10577
golangci-lint #10577
Conversation
I see that you haven't updated any README files. Would it make sense to do so? |
f1975f5
to
6118c37
Compare
@@ -25,7 +25,7 @@ import ( | |||
) | |||
|
|||
type Runner interface { | |||
ExecuteRun(ctx context.Context, spec pipeline.Spec, vars pipeline.Vars, l logger.Logger) (run pipeline.Run, trrs pipeline.TaskRunResults, err error) | |||
ExecuteRun(ctx context.Context, spec pipeline.Spec, vars pipeline.Vars, l logger.Logger) (run *pipeline.Run, trrs pipeline.TaskRunResults, err error) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We were copying around these values even though we end up needing a pointer for later uses anyways. Using a pointer also fixes the linter warnings indirectly.
randomnessFulfillmentRequestedEvent string = "RandomnessFulfillmentRequested" | ||
randomWordsFulfilledEvent string = "RandomWordsFulfilled" | ||
newTransmissionEvent string = "NewTransmission" | ||
outputsServedEvent string = "OutputsServed" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused
6118c37
to
fd27dff
Compare
fd27dff
to
9b5a6d0
Compare
9b5a6d0
to
37bf713
Compare
37bf713
to
d5d85c0
Compare
receiver-naming: receiver name X should be consistent with previous receiver name Y for T `X` is a misspelling of `Y` (misspell)
d5d85c0
to
ca72c10
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok
G601: Implicit memory aliasing in for loop.
receiver-naming: receiver name X should be consistent with previous receiver name Y for T
X
is a misspelling ofY
(misspell)