Fix typo in switch
This commit is contained in:
parent
19bda7ab52
commit
ef0b54de18
@ -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{}) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user