Skip to main content

What it flags

String concatenation in a Go loop allocates repeatedly; use strings.Builder.

Example

Repeated += string concatenation inside a Go for loop instead of strings.Builder.

Configuration

Set the rule to "off" in loadwise.config.json to drop its findings: