Add en/0.2.8.md syntax highlighting

This commit is contained in:
vCaesar
2017-04-09 15:05:51 +08:00
parent a2a7c4a232
commit 4322ae23fd

View File

@@ -1,13 +1,13 @@
# 2.8 Summary # 2.8 Summary
In this chapter, we mainly introduced the 25 Go keywords. Let's review what they are and what they do. In this chapter, we mainly introduced the 25 Go keywords. Let's review what they are and what they do.
```Go
break default func interface select break default func interface select
case defer go map struct case defer go map struct
chan else goto package switch chan else goto package switch
const fallthrough if range type const fallthrough if range type
continue for import return var continue for import return var
```
- `var` and `const` are used to define variables and constants. - `var` and `const` are used to define variables and constants.
- `package` and `import` are for package use. - `package` and `import` are for package use.
- `func` is used to define functions and methods. - `func` is used to define functions and methods.