summaryrefslogtreecommitdiffhomepage
path: root/go.html.markdown
diff options
context:
space:
mode:
authorSamuel Marks <samuelmarks@gmail.com>2015-04-23 00:02:33 +1000
committerSamuel Marks <samuelmarks@gmail.com>2015-04-23 00:02:33 +1000
commit1faab2901edb8c2e1eda708af8b37f3ec62dfd78 (patch)
tree3d987961c8cdb309d6790333567eb54f20dc60b9 /go.html.markdown
parent3bf74b3ddae006353069218563cbcd370c88aaaa (diff)
Fallthrough
Diffstat (limited to 'go.html.markdown')
-rw-r--r--go.html.markdown4
1 files changed, 4 insertions, 0 deletions
diff --git a/go.html.markdown b/go.html.markdown
index 9fce7a9b..34b855e3 100644
--- a/go.html.markdown
+++ b/go.html.markdown
@@ -181,6 +181,10 @@ func learnFlowControl() {
case 1:
case 42:
// Cases don't "fall through".
+ /*
+ There is a `fallthrough` keyword however, see:
+ https://github.com/golang/go/wiki/Switch#fall-through
+ */
case 43:
// Unreached.
default: