Skip to content

Commit 9a5129f

Browse files
committed
fixup! linter: add gostrconv
1 parent cc5a232 commit 9a5129f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: test/testdata/gostrconv.go

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
//args: -Egostrconv
1+
//golangcitest:args -Egostrconv
22
package testdata
33

4+
import "fmt"
5+
46
func SprintfCouldBeStrconv() {
5-
fmt.Sprintf("%d", 42) // ERROR "Sprintf can be replaced with faster function from strconv"
7+
fmt.Sprintf("%d", 42) // want "Sprintf can be replaced with faster function from strconv"
68
}

0 commit comments

Comments
 (0)