是否可以在地圖的鍵中包含 OR 運算符?例如。走:var a = map[string]int{ "A1"|| "B1": 1, "A2": 2,}錯誤:invalid operation: "A1" || "B1" (operator || not defined on string)
- 1 回答
- 0 關注
- 215 瀏覽
添加回答
舉報
0/150
提交
取消