Fixed a few typos for 02.8.md

This commit is contained in:
Anchor
2014-09-04 23:38:31 -07:00
committed by James Miranda
parent 7103695f10
commit c81135e50f

View File

@@ -17,10 +17,10 @@ In this chapter, we mainly introduced the 25 Go keywords. Let's review what they
- `select` is used to switch over multiple channels for communication.
- `interface` is used to define interfaces.
- `struct` is used to define special customized types.
- `break`, `case`, `continue`, `for`, `fallthrough`, `else`, `if`, `switch`, `goto`, `default` were introduced in section 2.3.
- `break`, `case`, `continue`, `for`, `fallthrough`, `else`, `if`, `switch`, `goto` and `default` were introduced in section 2.3.
- `chan` is the type of channel for communication among goroutines.
- `type` is used to define customized types.
- `map` is used to define map which is like hash table in others languages.
- `map` is used to define map which is similar to hash tables in other languages.
- `range` is used for reading data from `slice`, `map` and `channel`.
If you understand how to use these 25 keywords, you've learned a lot of Go already.
@@ -29,4 +29,4 @@ If you understand how to use these 25 keywords, you've learned a lot of Go alrea
- [Directory](preface.md)
- Previous section: [Concurrency](02.7.md)
- Next chapter: [Web foundation](03.0.md)
- Next chapter: [Web foundation](03.0.md)