[lectures/02-interfaces] Small fixes.
This commit is contained in:
parent
f49590aa5e
commit
161ec2d44c
1 changed files with 4 additions and 1 deletions
|
@ -428,6 +428,8 @@ Check type
|
|||
return
|
||||
}
|
||||
|
||||
fmt.Println(a())
|
||||
|
||||
Output:
|
||||
|
||||
0
|
||||
|
@ -440,6 +442,8 @@ Output:
|
|||
}
|
||||
}
|
||||
|
||||
fmt.Println(b())
|
||||
|
||||
Output:
|
||||
|
||||
3210
|
||||
|
@ -489,7 +493,6 @@ Output:
|
|||
// ...parser...
|
||||
}
|
||||
|
||||
|
||||
* recover
|
||||
|
||||
func main() {
|
||||
|
|
Loading…
Reference in a new issue