Closed logrusorgru closed 5 years ago
Since, fmt.Errorf has %w verb, we should properly highlight it.
%w
Also, for go1.13 go vet doesn't recognize Errorf and allows the %w for Sprintf and similar methods. For more information see https://github.com/golang/go/issues/32070#issuecomment-557778497
go1.13
go vet
Errorf
Sprintf
Since, fmt.Errorf has
%w
verb, we should properly highlight it.Also, for
go1.13
go vet
doesn't recognizeErrorf
and allows the%w
forSprintf
and similar methods. For more information see https://github.com/golang/go/issues/32070#issuecomment-557778497