diff options
author | Samuel Marks <samuelmarks@gmail.com> | 2015-04-23 00:02:33 +1000 |
---|---|---|
committer | Samuel Marks <samuelmarks@gmail.com> | 2015-04-23 00:02:33 +1000 |
commit | 1faab2901edb8c2e1eda708af8b37f3ec62dfd78 (patch) | |
tree | 3d987961c8cdb309d6790333567eb54f20dc60b9 | |
parent | 3bf74b3ddae006353069218563cbcd370c88aaaa (diff) |
Fallthrough
-rw-r--r-- | go.html.markdown | 4 |
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: |