You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the "Effective Go" document in the section describing the "switch"
command, the following code excerpt is used:
switch t := interfaceValue.(type) {
default:
fmt.Printf("unexpected type %T", type); // %T prints type
This code does not compile. I believe that last line should be:
fmt.Printf("unexpected type %T", t); // %T prints type
The text was updated successfully, but these errors were encountered:
by michael.elkins:
The text was updated successfully, but these errors were encountered: