Description
With the new version of golangci-lint to 2.1.6 there are new issues reported. One of these issues is:
QF1012: Use fmt.Fprintf(...) instead of WriteString(fmt.Sprintf(...)) (staticcheck), which is basically a hint to make use of the Fprintf functionality that supports buffered writing.
Applying the fixes for this issues results in breaking changes, since the recommended function returns error, whereas the current impl often has no error handling.
Reasons
Limit suppressed linter issues.
Acceptance Criteria
Description
With the new version of golangci-lint to
2.1.6there are new issues reported. One of these issues is:QF1012: Use fmt.Fprintf(...) instead of WriteString(fmt.Sprintf(...)) (staticcheck), which is basically a hint to make use of theFprintffunctionality that supports buffered writing.Applying the fixes for this issues results in breaking changes, since the recommended function returns error, whereas the current impl often has no error handling.
Reasons
Limit suppressed linter issues.
Acceptance Criteria