github.com/powerman/golang-tools@v0.1.11-0.20220410185822-5ad214d8d803/go/ssa/testdata/src/sort/sort.go (about)

     1  package sort
     2  
     3  func Strings(x []string)
     4  func Ints(x []int)
     5  func Float64s(x []float64)
     6  
     7  func Sort(data Interface)
     8  
     9  type Interface interface {
    10  	Len() int
    11  	Less(i, j int) bool
    12  	Swap(i, j int)
    13  }