Merge pull request #915 from nayzawoo/patch-2

Update 0.2.5.md.
This commit is contained in:
astaxie
2017-11-17 06:21:52 -06:00
committed by GitHub

View File

@@ -270,7 +270,7 @@ func main() {
mark.SayHi()
}
```
### Method overload
### Method Overriding
If we want Employee to have its own method `SayHi`, we can define a method that has the same name in Employee, and it will hide `SayHi` in Human when we call it.
```Go