diff --git a/README.md b/README.md index fa38651..ad4422b 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,8 @@ Features: package main import ( - "fmt" - "github.com/plar/go-adaptive-radix-tree/v2" + "fmt" + art "github.com/plar/go-adaptive-radix-tree/v2" ) func main() { @@ -56,7 +56,7 @@ func main() { // Iterate over the tree in descending order using reverse traversal fmt.Println("\nDescending order iteration:") tree.ForEach(func(node art.Node) bool { - fmt.Printf("Key: %s, Value: %s\n", node.Key(), node.Value())) + fmt.Printf("Key: %s, Value: %s\n", node.Key(), node.Value()) return true }, art.TraverseReverse)