☰
Debian Codegraph
@
2026.2.1-1
2026.1-4
2026.1-3
/
/
staticcheck
/
sa4029
/
testdata
/
go1.9
/
CheckIneffectiveSort
/
CheckIneffectiveSort.go.golden
☽
☼
staticcheck/sa4029/testdata/go1.9/CheckIneffectiveSort/CheckIneffectiveSort.go.golden
code
plain
raw
Expat
2016-2017 Dominik Honnef
debian/copyright
1
package pkg
2
3
import "sort"
4
5
func fn() {
6
type Strings = []string
7
var d Strings
8
9
sort.Strings(d) //@ diag(re`sort\.StringSlice is a type.+consider using sort\.Strings instead`)
10
}