linters/internal/analyzers/use-strconv/test-case/negative._go
Alexander Chuprov a2983f6cb8 [#10] linters: Add useStrconv linter
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2023-08-17 16:24:21 +03:00

15 lines
216 B
Text

package src_test
import (
"fmt"
)
func main(){
for i := 0; i < b.N; i++ {
s := fmt.Sprintf("%d", height)
s := fmt.Sprintf("%x", height)
s := fmt.Sprintf("%f", height)
s := fmt.Sprintf("%t", height)
}
}