diff --git a/en/02.8.md b/en/02.8.md index b1306758..e5b8cbe8 100644 --- a/en/02.8.md +++ b/en/02.8.md @@ -1,13 +1,13 @@ # 2.8 Summary 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 case defer go map struct chan else goto package switch const fallthrough if range type continue for import return var - +``` - `var` and `const` are used to define variables and constants. - `package` and `import` are for package use. - `func` is used to define functions and methods.