Source file tour/concurrency/exercise-equivalent-binary-trees.go

     1  // +build no-build OMIT
     2  
     3  package main
     4  
     5  import "golang.org/x/tour/tree"
     6  
     7  // Walk walks the tree t sending all values
     8  // from the tree to the channel ch.
     9  func Walk(t *tree.Tree, ch chan int)
    10  
    11  // Same determines whether the trees
    12  // t1 and t2 contain the same values.
    13  func Same(t1, t2 *tree.Tree) bool
    14  
    15  func main() {
    16  }
    17  

View as plain text