github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/files/map4.gno (about) 1 package main 2 3 func main() { 4 dict := map[string]string{"bidule": "machin", "truc": "bidule"} 5 dict["hello"] = "bonjour" 6 println(dict["bidule"]) 7 println(dict["hello"]) 8 } 9 10 // Output: 11 // machin 12 // bonjour