Skip to content

Commit b8ffb8d

Browse files
author
eliastor
committed
wrong solution
1 parent 7d17f50 commit b8ffb8d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

unit2/exercises/e1/main.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
package main
22

3-
import "golang.org/x/tour/tree"
3+
import (
4+
"fmt"
5+
6+
"golang.org/x/tour/tree"
7+
)
48

59
// Walk walks the tree t sending all values
610
// from the tree to the channel ch.
@@ -11,4 +15,5 @@ func Walk(t *tree.Tree, ch chan int)
1115
func Same(t1, t2 *tree.Tree) bool
1216

1317
func main() {
18+
fmt.Println("wrong solution")
1419
}

0 commit comments

Comments
 (0)