📌  相关文章
📜  在 golang 中切换 - Go 编程语言代码示例

📅  最后修改于: 2022-03-11 14:45:01.663000             🧑  作者: Mango

代码示例1
switch day {
  case "sunday":
    // cases don't "fall through" by default!
    fallthrough

  case "saturday":
    rest()

  default:
    work()
}