From 1faab2901edb8c2e1eda708af8b37f3ec62dfd78 Mon Sep 17 00:00:00 2001 From: Samuel Marks Date: Thu, 23 Apr 2015 00:02:33 +1000 Subject: Fallthrough --- go.html.markdown | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'go.html.markdown') 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: -- cgit v1.2.3