天天看点

golang --- map如何判断key是否存在

判断方式为value,ok := map[key], ok为true则存在

  

继续阅读