Instead of a closure, could you put loopCnt and errCnt in a struct, and
then make your loopErrMsg be a method on that?
On Tuesday, 26 July 2022 at 16:03:01 UTC+1 gocss wrote:
> also found this so it is a known limitation:
> https://github.com/golang/go/issues/44350
>
> On Tuesday, July 26, 2022
also found this so it is a known limitation:
https://github.com/golang/go/issues/44350
On Tuesday, July 26, 2022 at 10:39:06 AM UTC-4 gocss wrote:
> Appears 'go vet -printf.funcs loopErrMsgf'
> does not detect incorrect verbs or lack thereof on anonymous functions ...
> :(
> as shown above,
Appears 'go vet -printf.funcs loopErrMsgf'
does not detect incorrect verbs or lack thereof on anonymous functions ...
:(
as shown above, which is my desired use case.
On Tuesday, July 26, 2022 at 10:02:19 AM UTC-4 gocss wrote:
> Is there a way to configure 'go vet' to a variant of