if..else. Go的 if...else 語法與其他語言非常相近。 // 如果if後方的敘述是true,就執行block中的內容 if a == 2 { return 2 } // 加上else if a ...
確定! 回上一頁