编程语言go语言日常笔记 linux 2023-01-19 Source Edit History undefined 1. 判断 key 是否在map中123if _,ok := map[key]; ok {// 存在}