github.com/serversong/goreporter@v0.0.0-20200325104552-3cfaf44fd178/linters/staticcheck/testdata/CheckNonUniqueCutset.go (about) 1 package pkg 2 3 import "strings" 4 5 func fn(s string) { 6 _ = strings.TrimLeft(s, "") 7 _ = strings.TrimLeft(s, "a") 8 _ = strings.TrimLeft(s, "ยต") 9 _ = strings.TrimLeft(s, "abc") 10 _ = strings.TrimLeft(s, "http://") // MATCH "duplicate characters" 11 }