cmd/vet: Doesn't complain when the field tags are not parsable by the reflect: StructTag.Get() call #14466
Hi, I have noticed a problem with
Let's take an example struct :
As you can see I have set the field tags, and while the tags looks OK, the tag format is incorrect. To illustrate, the example code:
The problem here is the coma character between
I will raise a pull request if the maintainers agree that this is a bug in the go vet tool indeed.
The text was updated successfully, but these errors were encountered:
Actually the tags are parseable in this case. The tag
That said, it's obviously a mistake and probably one vet should catch even though it's not technically illegal. Will send a CL.