``` package main import ( "fmt" ) // 常量 const ( AC_INS = 1 AC_OUT = 2 ) func main() { // 定义 hash := map[string]int{"name": 16, "wq": 16, "lvg": 25} hash["age"] = AC_INS fmt.Println(hash) fmt.Println(hash["age"]) // 删除 delete(hash, "age") fmt.Println(hash) // 遍历 for key := range hash { fmt.Println(key, hash[key]) } } ```