From: Rob Pike Date: Fri, 24 Jan 2014 00:26:42 +0000 (-0800) Subject: effective_go: move 'Type switch' section into 'Control structures' section. X-Git-Tag: go1.3beta1~879 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=592415d682232e96dda7c903d67dd24672649b76;p=gostls13.git 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 --- diff --git a/doc/effective_go.html b/doc/effective_go.html index 094ab3d921..74f9f3db9f 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