github.com/mdempsky/go@v0.0.0-20151201204031-5dd372bd1e70/src/sort/export_test.go (about)

     1  // Copyright 2011 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package sort
     6  
     7  func Heapsort(data Interface) {
     8  	heapSort(data, 0, data.Len())
     9  }