cmd/vet: go vet should issue warning for nonsense json tags #40007
Labels
Analysis
Issues related to static analysis (vet, x/tools/go/analysis)
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
unsure, not tested
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
(no warnings)
What did you expect to see?
vet should warn about a possible typo: s/:omitempty/,omitempty/
What did you see instead?
no warning, just confusing app behavior
The text was updated successfully, but these errors were encountered: