Is there a way to configure 'go vet' to a variant of sprintf/printf that I rolled
such
loopErrMsgf := func(format string, params ...interface{}) string {
errCnt++
return fmt.Sprintf("[checkIn:loopCnt:%d, errCnt:%d] error %s", loopCnt, errCnt, fmt.Sprintf(format, params...))
}
that will flag if params does not include correct corresponding printf verbs that are
passed in 'format' ??? above?
If not 'go vet" I used but yet to remember tool I have done this with in the past,
is there another way to do such checks?