From 1f95f0d353b4d6d27eecbaa43a5976045b802877 Mon Sep 17 00:00:00 2001
From: Robert Griesemer
A type switch compares types rather than values. It is otherwise similar
-to an expression switch. It is marked by a special switch expression which
+to an expression switch. It is marked by a special switch expression that
has the form of a type assertion
using the reserved word
@@ -3366,7 +3366,7 @@ if v == nil {
The type switch guard may be preceded by a simple statement, which
executes before the guard is evaluated.
-type
rather than an actual type.
Cases then match literal types against the dynamic type of the expression
@@ -3310,7 +3310,7 @@ in the TypeSwitchGuard.
The type in a case may be nil
(§Predeclared identifiers);
that case is used when the expression in the TypeSwitchGuard
-is a nil interface value.
+is a nil
interface value.
The "fallthrough" statement is not permitted in a type switch. -- 2.48.1