From 592415d682232e96dda7c903d67dd24672649b76 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Thu, 23 Jan 2014 16:26:42 -0800 Subject: [PATCH] effective_go: move 'Type switch' section into 'Control structures' section. Needs to be an h3, not an h2. Thanks to Mingjie Xing for pointing it out. LGTM=dsymonds R=golang-codereviews, dsymonds CC=golang-codereviews https://golang.org/cl/55980046 --- doc/effective_go.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/effective_go.html b/doc/effective_go.html index 094ab3d921c..74f9f3db9f2 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -850,7 +850,7 @@ func Compare(a, b []byte) int { } -

Type switch

+

Type switch

A switch can also be used to discover the dynamic type of an interface