You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running internal/cmd/build/main.go via go run . check fails if there's a doc comment on a function variable declaration without Exposed as:.
Actual Behavior
It should ignore variable declarations in functions.
Steps to Reproduce the Problem
For example:
// If the priority only contains default values, return nil instead
// - since there's no need to send the default values to the server.
var defaultPriority Priority
Expected Behavior
Running
internal/cmd/build/main.go
viago run . check
fails if there's a doc comment on a function variable declaration withoutExposed as:
.Actual Behavior
It should ignore variable declarations in functions.
Steps to Reproduce the Problem
For example:
See 5ff0c1c
The text was updated successfully, but these errors were encountered: