github.com/aarzilli/tools@v0.0.0-20151123112009-0d27094f75e0/net/http/dedup/doc.go (about)

     1  // package dedup takes multiple dom instances,
     2  // computing similar subtrees measured by levenshtein distance.
     3  package dedup
     4  
     5  import "fmt"
     6  
     7  var pf func(format string, a ...interface{}) (int, error) = fmt.Printf
     8  var pfRestore func(format string, a ...interface{}) (int, error) = fmt.Printf
     9  
    10  var spf func(format string, a ...interface{}) string = fmt.Sprintf
    11  var wpf = fmt.Fprintf
    12  
    13  func pfDevNull(format string, a ...interface{}) (int, error) {
    14  	return 0, nil // sucking void
    15  }