mirror of
https://github.com/traefik/yaegi.git
synced 2026-06-01 18:37:56 +00:00
* gi: rename gi_c into _gi_c * gi: rename test into _test * gi: fix README syntax
13 lines
204 B
Go
13 lines
204 B
Go
package main
|
|
|
|
func main() {
|
|
dict := map[string]string{"bidule": "machin", "truc": "bidule"}
|
|
dict["hello"] = "bonjour"
|
|
println(dict["bidule"])
|
|
println(dict["hello"])
|
|
}
|
|
|
|
// Output:
|
|
// machin
|
|
// bonjour
|