github.com/serversong/goreporter@v0.0.0-20200325104552-3cfaf44fd178/linters/staticcheck/testdata/CheckStringsReplaceZero.go6 (about) 1 package pkg 2 3 import "strings" 4 5 func fn() { 6 strings.Replace("", "", "", 0) // MATCH /calling strings.Replace with n == 0/ 7 strings.Replace("", "", "", -1) 8 strings.Replace("", "", "", 1) 9 }