code.png if _, ok := replacements[v]; ok { // do something } 如果存在句携,則返回 true榔幸,不存在返回 0 或 nil image.png