Fix typo in switch

This commit is contained in:
Mark McGranaghan 2018-02-01 17:29:58 -05:00
parent 19bda7ab52
commit ef0b54de18

View File

@ -42,7 +42,7 @@ func main() {
}
// A type `switch` compares types instead of values. You
// can use this to discover the the type of an interface
// can use this to discover the type of an interface
// value. In this example, the variable `t` will have the
// type corresponding to its clause.
whatAmI := func(i interface{}) {