From 1a64afac4c10bc5c38bc40088b8246e6b81c4b8a Mon Sep 17 00:00:00 2001 From: lee Date: Thu, 27 Jun 2019 14:42:34 +0100 Subject: [PATCH] remove inconsistencies on the main --- subjects/btreeapplypostorder.en.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/subjects/btreeapplypostorder.en.md b/subjects/btreeapplypostorder.en.md index 327b4458..de6825bc 100644 --- a/subjects/btreeapplypostorder.en.md +++ b/subjects/btreeapplypostorder.en.md @@ -7,7 +7,7 @@ Write a function that applies a function using a postorder walk to each element ### Expected function ```go -func BTreeApplyPostorder(root *piscine.TreeNode, f func(...interface{}) (int, error)) { +func BTreeApplyPostorder(root *TreeNode, f func(...interface{}) (int, error)) { } ``` @@ -21,7 +21,7 @@ package main import ( "fmt" - piscine "." + piscine ".." ) func main() { @@ -29,7 +29,7 @@ func main() { piscine.BTreeInsertData(root, "1") piscine.BTreeInsertData(root, "7") piscine.BTreeInsertData(root, "5") - BTreeApplyPostorder(root, fmt.Println) + piscine.BTreeApplyPostorder(root, fmt.Println) } ``` @@ -37,11 +37,11 @@ func main() { And its output : ```console -student@ubuntu:~/piscine/btreeinsertdata$ go build -student@ubuntu:~/piscine/btreeinsertdata$ ./btreeinsertdata +student@ubuntu:~/piscine/test$ go build +student@ubuntu:~/piscine/test$ ./test 1 5 7 4 -student@ubuntu:~/piscine/btreeinsertdata$ +student@ubuntu:~/piscine/test$ ```