- Maps
Maps
mut m := map[string]int{} // Only maps with string keys are allowed for nowm['one'] = 1println(m['one']) // ==> "1"println(m['bad_key']) // ==> "0"// TODO: implement a way to check if the key existsnumbers := { // TODO: this syntax is not implemented yet'one': 1,'two': 2,}
