Closed arp242 closed 4 weeks ago
Flag all stdlib functions that have both a Printf() and Print() variant.
Found with:
% rg -g '!internal/' -g '!cmd/' '^func ([()*a-zA-Z0-9_ ]+)?[A-Z]\w+\(\w+ string, \w+ \.\.\.any\)'
(will need to filter out some false positives)
Fixes #1528
Added a second commit to special-case fixing fmt.Errorf() → errors.New(). Previously that would get "fixed" to fmt.Error(). Just adding a note since you already approved this PR.
Flag all stdlib functions that have both a Printf() and Print() variant.
Found with:
(will need to filter out some false positives)
Fixes #1528