github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/files/avl1.gno (about) 1 package main 2 3 import "gno.land/p/demo/avl" 4 5 type String string 6 7 func main() { 8 tree := avl.Tree{} 9 key := "key" 10 _ = tree.Set(key, key) 11 y, z := tree.Get(key) 12 println(y, z) 13 } 14 15 // Output: 16 // key true