github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/files/avl0.gno (about)

     1  package main
     2  
     3  import "gno.land/p/demo/avl"
     4  
     5  type String string
     6  
     7  func main() {
     8  	node := avl.NewNode("", nil)
     9  	key := "key"
    10  	node, _ = node.Set(key, key)
    11  	x, y, z := node.Get(key)
    12  	println(x, y, z)
    13  }
    14  
    15  // Output:
    16  // 1 key true