Update 02.4.md

fix mispelling: embdedded -> embedded
This commit is contained in:
Dmitry Harnitski
2017-04-18 21:56:20 -04:00
committed by GitHub
parent d419a8e541
commit bf16d4b216

View File

@@ -92,7 +92,7 @@ func main() {
I've just introduced to you how to define a struct with field names and type. In fact, Go supports fields without names, but with types. We call these embedded fields.
When the embedded field is a struct, all the fields in that struct will implicitly be the fields in the struct in which it has been embdedded.
When the embedded field is a struct, all the fields in that struct will implicitly be the fields in the struct in which it has been embedded.
Let's see one example.
```Go